home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 3.2 / Ham Radio Version 3.2 (Chestnut CD-ROMs)(1993).ISO / tcp / nosguide / nosguide.txt
Text File  |  1992-05-07  |  170KB  |  4,605 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. 1.  Introduction
  8.  
  9. TCP/IP is the common name for a set of protocols developed to allow
  10. cooperating computers to share resources across a network.  A protocol is
  11. simply a set of conventions or rules which must be adhered to by the
  12. communicating computers on a network to ensure that the information being
  13. exchanged is received and interpreted correctly.  In the amateur radio
  14. software implementation of TCP/IP networking, the command set of the TNC is
  15. replaced with a very basic set of commands and the protocols are run in the
  16. user's computer.  This opens up the real power of computer-to-computer
  17. networking via packet radio.
  18.  
  19.      TCP/IP provides for file transfer, electronic mail, remote login
  20. services, and network file access.   It was originally designed for the
  21. Department of Defense to connect unlike mainframe computers in the military,
  22. government, research institutions, private industry, and universities so that
  23. all could share resources on a common network.  For more information on
  24. TCP/IP, consult "Introduction to the Internet Protocols," by Charles L.
  25. Hedrick (Rutgers University, 1987).  This document is often available in
  26. electronic form on amateur radio packet systems.  TCP/IP has been adapted for
  27. use on amateur radio networks and it complies with FCC rules on amateur radio
  28. digital transmissions.  The amateur radio implementation of TCP/IP also
  29. provides services for keyboard chats, bulletin boards, AX.25 packet, and
  30. NET/ROM networking.
  31.  
  32.      While there are many commands in a TCP/IP software package, the basic
  33. commands are not difficult to learn or to use. The user first sends a few
  34. software commands to the TNC to substitute its limited command set with an
  35. even simpler command set (called "KISS," for "keep it simple stupid") and
  36. transfers control to the TCP/IP software in the user's computer.  The user can
  37. then engage in TCP/IP communications, or, since the software package has the
  38. capability of communicating in normal AX.25 packet, the user can operate with
  39. AX.25 packet bulletin boards, keyboard connects, digipeaters, or NET/ROM
  40. nodes.
  41.  
  42.      TCP/IP has several advantages over normal AX.25 packet.  At its lower
  43. levels, its strategies for retransmission of packets, exponential backoff in
  44. the face of channel congestion, handling of lost and duplicated packets, and
  45. packetization of data to be transmitted often lead to better overall channel
  46. throughput.  It is designed to be a multi-connect, store-and-forward system.
  47. With TCP/IP, your local switch (similar to a node on AX.25 or NET/ROM) will
  48. hold your mail and on your request, forward the mail to your computer.  Mail
  49. can also be forwarded to and from an AX.25 PBBS.  There is never a "station
  50. busy" reply on TCP/IP, since the software provides for multiple sessions, with
  51. the switch passing out mail to connected stations much like a dealer dealing
  52. cards, while handling a file transfer at the same time. Another advantage of
  53. the TCP/IP protocols and software is that the routing of packets through
  54. several systems to the eventual destination is simpler for the user than that
  55. in AX.25 or NET/ROM forwarding.  You do not need to know the full route to the
  56. destination.  Rather, you set up a routing table to the stations that you can
  57. communicate with directly.  If all other systems set up accurate routing
  58. tables, your packets will be forwarded properly to the desired destination.
  59.  
  60.      The most accurate name for this set of protocols is the "Internet
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                     - 2 -
  71.  
  72.  
  73. protocol suite," a layered family of protocols.  TCP (transmission control
  74. protocol) and IP (internet protocol) are two of the lower level protocols.
  75. While the end-user of the suite does not often interact with the TCP or IP
  76. protocols, they are the best known of the protocols, and it has become common
  77. to use the term TCP/IP to refer to the whole family.
  78.  
  79.      This document is a beginner's guide to use of the KA9Q Internet Software
  80. Package on the amateur radio packet network (AMPRNET).  This software is the
  81. result of several years of development by Phil Karn, KA9Q, and an
  82. international group of collaborators.  Phil developed the earlier NET TCP/IP
  83. software in the mid-1980's and it was "officially released" to the amateur
  84. radio community in April, 1989.  He then began the development of NOS (Network
  85. Operating System), based on a multitasking networking kernel.  The resulting
  86. software is extremely versatile.  It was written for the IBM PC and clones,
  87. but has been ported to the Apple Macintosh, Atari ST, Commodore Amiga, and to
  88. several versions of UNIX machines.  It has drivers for several hardware
  89. interfaces, allowing communication on wire networks as well as packet radio
  90. networks.  Since the source code has been made available, there are numerous
  91. versions of this software.  This beginner's guide documents the use of KA9Q
  92. NOS 911229 (written December 12, 1991) as modified in version 2.0h by Gerard
  93. van der Grinten, PA0GRI.
  94.  
  95.      The NOS software provides the following services:
  96.  
  97. keyboard chat   A modified telnet protocol, called "ttylink," as implemented
  98.                 in NOS, allows users to "chat" from keyboard to keyboard.
  99.  
  100. mail            The simple mail transfer protocol (SMTP) provides services for
  101.                 sending and receiving mail.  The sending, receiving, and
  102.                 forwarding computers can run unattended during this transfer,
  103.                 so it is not necessary to log into a PBBS to pick up your
  104.                 mail.  A separate program, Bdale's Mailer (BM), first written
  105.                 by Bdale Garbee, N3EUA, is available to compose and read mail
  106.                 messages.  It is also documented in this guide.
  107.  
  108. file transfer   The file transfer protocol (FTP) allows a user on any computer
  109.                 to get files from another computer, or to send files to
  110.                 another computer.  Security is handled by requiring the user
  111.                 to specify a user name and password for the other computer.
  112.                 Both text (AASCI) and binary (executables or encoded text)
  113.                 files can be transferred.
  114.  
  115. mailbox or BBS  A mailbox, with a user interface similar to that of an AX.25
  116.                 packet BBS, allows both TCP/IP and AX.25 packet users to read
  117.                 and compose mail.  It also allows AX.25 users access to many
  118.                 of the TCP/IP services, providing them with an introduction to
  119.                 NOS and possibly an inducement to switch to the use of NOS.
  120.  
  121. finger          Finger is typically used to find out specific information
  122.                 about users on local or remote hosts.  By fingering a user,
  123.                 you can find out such information as a user's name, mailing
  124.                 address, telephone number, QSL information, and other useful
  125.                 facts.
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                                     - 3 -
  137.  
  138.  
  139. ax25            Regular AX.25 services are also provided, so that NOS can be
  140.                 used for all of your packet radio activities.  You can connect
  141.                 to a friend who is not running TCP/IP and conduct a keyboard
  142.                 chat or you can login to an AX.25 packet BBS.
  143.  
  144. NET/ROM         NOS also allows your packet system to serve as a NET/ROM node,
  145.                 although this will not be documented in this guide.
  146.  
  147.      There are many other TCP/IP services that may be made available for use
  148. on packet radio in the future.  Callsign servers are available on some
  149. systems.  Access to network news via the network news transport protocol
  150. (NNTP) is also becoming available.  Methods are being developed to set up
  151. routing tables and keep them up-to-date automatically, without requiring the
  152. user to edit the table.  When multi-tasking computers become commonplace
  153. hobbyist machines, you will be able to remotely login to these systems to
  154. execute programs on them.  Network file systems may become available, so that
  155. you can store your files on a remote disk and access them through the packet
  156. radio network.  Most of these potential services will require higher baud rate
  157. networks, as a 1200 baud radio link is just too slow to support them.
  158.  
  159.      It should be noted that the primary focus of many of the users of the
  160. TCP/IP software on amateur radio is experimentation with new prototocols and
  161. new versions of the software.  While there are many full-service TCP/IP
  162. systems operating 24 hours a day providing services to the general user
  163. community, many others are on the air only sporadically to test new software.
  164. Thus, unless you enjoy dealing with constant technological change, you may be
  165. disappointed with TCP/IP networking in the amateur community.
  166.  
  167. 1.1.  Objectives of This Guide
  168.  
  169. The objectives of this guide are intentionally limited.  The guide is intended
  170. to encourage more hams to use the NOS software on the amateur packet radio
  171. network (AMPRNET) and thus, it is aimed at beginners.  It provides information
  172. on installing and using KA9Q NOS version 911229 (PA0GRI v.0f) and version
  173. 3.3.2 of BM on an IBM PC or clone, with a serial interface to a TNC running
  174. the KISS (Keep It Simple, Stupid) firmware.  Installation and use of other
  175. versions of this software running on PCs or other machines is similar to that
  176. described in this guide, but no attempt has been made in this guide to deal
  177. with the many other versions of the software.
  178.  
  179.      This guide only documents the subset of the NOS commands that are of most
  180. use to a beginning end-user of the software and the packet network.  Short
  181. descriptions of all of the top-level NOS commands are given in Appendix D.
  182. Further details are available in the "Network Operating System User Reference
  183. Manual," by Phil Karn, KA9Q, and Gerard van der Grinten, PA0GRI, reflecting
  184. version 911229 of NOS 2.0h as released to the public by PA0GRI.  This manual
  185. is often available on-line on the packet radio network.  It should be
  186. consulted for details which are beyond the scope of this guide.
  187.  
  188. 1.2.  Acknowledgements
  189.  
  190. Version 1.0 of this guide, dated May 9, 1990, was based on KA9Q NET 890421 and
  191. BM 3.3.1 and much of the material in this version was taken from "The KA9Q
  192. Internet Software Package," with permission from the author, Bdale Garbee.
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.                                     - 4 -
  203.  
  204.  
  205. Shayne Hughes, N6SPE, Jim Pearce, N6ESV, and Chuck Bland, N6DBT, also provided
  206. many useful comments on the manuscript.  Much of this material remains intact
  207. in this newer version of the guide.
  208.  
  209.      This current version of the guide is based on the "Network Operating
  210. System User Reference Manual," by Phil Karn, KA9Q, and Gerard van der Grinten,
  211. PA0GRI.  To document the mailbox, I relied on the help files that were
  212. recently revised by Jim Mankin, KB3KJ, who couldn't recall who had written the
  213. original files.  Dell Tucker, WA6IUK, and Gary James, N6CNG, provided comments
  214. on the manuscript.
  215.  
  216.      I would appreciate receiving any comments you have about this guide.  I
  217. can be contacted at the following addresses:
  218.  
  219.         AX.25 PBBS:  N6GF@WA6NWE.#NOCAL.CA.USA.NA
  220.         Internet:    ford@eecs.ucdavis.edu
  221.         U.S. Mail:   226 Diablo Ave., Davis, CA 95616
  222.  
  223.  
  224.  
  225.  
  226.  
  227. 2.  Necessary Resources
  228.  
  229. The purpose of this section of the guide is to describe the necessary
  230. resources you must have available to be able to set up an amateur packet radio
  231. system running TCP/IP.  The hardware requirements of TCP/IP are nearly the
  232. same as any AX.25 packet station, although this guide assumes that the host
  233. comadputer is a PC or clone.
  234.  
  235. 2.1.  Computer
  236.  
  237. The computer required to run the version of NOS described in this guide is an
  238. IBM PC or clone running the MS-DOS or PC-DOS operating system (to be referred
  239. to simply as DOS for the remainder of this guide).  The PC can range from the
  240. original PC (8086) to the XT, AT (286), 386, or 486 machines.  This computer
  241. must have at least one serial port and a floppy disk drive.  A hard disk is
  242. preferred, but is not absolutely necessary.
  243.  
  244.      It is assumed that the reader of this guide is familiar with the basics
  245. of DOS.  You should be able to set up directories, manage files, and have
  246. available and know how to use a text editor.
  247.  
  248. 2.2.  TNC
  249.  
  250. The TNC (terminal node controller) used for TCP/IP must run the KISS firmware.
  251. This includes the TAPR TNC-1, TNC-2 and clones produced by several
  252. manufacturers, equipped with a ROM running KISS.  For the TNC-2 or clones,
  253. version 1.1.6 of the firmware, or later, is required.  Most of the more recent
  254. TNCs also run the KISS firmware.
  255.  
  256.      Attach your TNC to your PC serial port using an RS-232C cable, following
  257. your TNC manufacturer's instructions.  Set the baud rate between the computer
  258. and the TNC as recommended in the TNC instructions.  Verify that the TNC works
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.                                     - 5 -
  269.  
  270.  
  271. properly in the AX.25 mode, again following the TNC instructions, and then
  272. enter the commands to run KISS.  Further information on running the KISS mode
  273. is given in Appendix A.
  274.  
  275. 2.3.  Radio
  276.  
  277. The majority of the TCP/IP packet operations are on 2 meters, so you will need
  278. a 2m FM transceiver.  The radio requirements for TCP/IP are the same as those
  279. for AX.25 packet.  Follow the directions in your TNC manual to interface the
  280. transceiver to the TNC.
  281.  
  282.      In most areas in the U.S., TCP/IP packet operations are found in the
  283. frequency ranges 144.91-145.09 MHz and 145.71-145.79 MHz.  You will have to
  284. ask around to find out what frequency is being used in your area.  One way to
  285. find the TCP/IP operation is to operate your TNC in the AX.25 mode and monitor
  286. the frequencies with "MONITOR ON."  The TCP/IP frequency is the one that
  287. causes the most "garbage" to be displayed on your screen, although NET/ROM
  288. nodes also cause this problem as well.  The reason for this is that AX.25 TNCs
  289. do not decode the TCP/IP or NET/ROM control information.
  290.  
  291. 2.4.  IP Address
  292.  
  293. IP addresses are 32 bit numbers that uniquely identify a given machine (or
  294. "host") running the TCP/IP protocol suite.  All of the possible 32 bit numbers
  295. are coordinated by an entity known as the Network Information Center, or NIC.
  296. Amateur Radio operators are fortunate in that a "Class A Subnet" consisting of
  297. 24 bits of address, in the range 44.X.X.X, has been reserved for our use.
  298. Brian Kantor, WB6CYT, of San Diego, CA, serves as the top level administrator
  299. of the 44.X.X.X address space, and assigns blocks of addresses to regional
  300. coordinators from around the world.  The list of these regional coordinators,
  301. as of January 1992, is given in Appendix C.  This list is updated several
  302. times a year and is generally available on AX.25 PBBS systems.
  303.  
  304.      You need to acquire an IP address before you can link in with the local
  305. AMPRNET community.  To do this, contact the coordinator for your region,
  306. listed in Appendix C, or in a more recent list posted on your local PBBS.
  307. Your coordinator will assign you an address from the block for your area.  If
  308. you need help in contacting this coordinator, you should ask around the local
  309. packet community for assistance.  If all else fails, Brian Kantor can be
  310. reached as brian@ucsd.edu on the Internet if you have access to this wire
  311. network.  He can help to locate your IP address coordinator.
  312.  
  313.      If you have not yet obtained your IP address and want to get on the air
  314. immediately, you may temporarily use [44.128.0.*], with "*" replaced by a
  315. number between 1 and 255.  Try to ensure that no one else in your area is
  316. using the same number.
  317.  
  318. 2.5.  KA9Q NOS Softwarea
  319.  
  320. The KA9Q TCP/IP program NOS and the mailer BM are likely to be available in
  321. your local area.  You should inquire about availability on your local packet
  322. BBS.  This would not only provide you with the software, but also contact with
  323. someone who has used the software and could help you with its installation and
  324. use.  Further, since the source code to these programs is available, many
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.                                     - 6 -
  335.  
  336.  
  337. local versions are available and it is often to your advantage to use these
  338. local versions.
  339.  
  340.      The programs NOS and BM must be installed and configured on your
  341. computer.  The easiest way to do this is to edit the sample configuration
  342. files that are often included in distributions of the software.  Local
  343. distributions may also include configuration information appropriate for your
  344. local network, so it is to your advantage to acquire the software locally.  If
  345. your distribution does not include the sample files, detailed information on
  346. installation and configuration is given in Appendix B of this guide.  The
  347. information in this appendix can also be used to understand the commands given
  348. in the sample files.
  349.  
  350.  
  351.  
  352.  
  353. 3.  Definitions, Conventions, and Notation
  354.  
  355. In this section, some terms used in TCP/IP networking are defined and the
  356. conventions and notation used in the guide are explained.
  357.  
  358.      Each system on the amateur packet radio network is referred to as a
  359. "node" or "host," terms that are derived from wire networks.  Since each
  360. TCP/IP node includes a computer, the term "machine" is also used
  361. interchangeably with "node" and "host."  As a user, you employ a "local host"
  362. and you communicate with a "remote host."  The local host often requests
  363. services from the remote host, and as a result, the remote host is known as a
  364. "server" and the local host is a "client."  Actually, each host provides a
  365. server and a client for each of the supported protocols.
  366.  
  367.      Some hosts are set up not for use by an end user, but rather to forward
  368. packets from many users, in some ways similar to the function of an AX.25
  369. digipeater, and to serve as a file repository.  These systems are generally
  370. operated 24 hours a day and are known as "switches" or "gateways."  Some of
  371. these systems are set up to serve as mail gateways to and from AX.25 PBBS
  372. systems.  Note, however, that end user hosts can also be used to forward
  373. TCP/IP packets.
  374.  
  375.      Each host on the AMPRNET is identified by an IP address, as discussed in
  376. Section 2.4.  Hosts are also known by a symbolic name which is linked to the
  377. IP address in the configuration file, DOMAIN.TXT.  The convention on AMPRNET
  378. is to choose the user's callsign as the symbolic host name.
  379.  
  380.      The conventions used in this guide are described below.  The intent was
  381. to produce this guide in the form of a simple ASCII (plain text) file that
  382. could be distributed through the AMPRNET.  Thus, it was not possible to use
  383. bold or italic fonts, changes in point size, or underlining to clarify
  384. meaning.
  385.  
  386. 3.1.  NOS Commands
  387.  
  388. NOS has a command line-driven user interface.  The commands have the following
  389. forms:
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.                                     - 7 -
  401.  
  402.  
  403.         command
  404.         command arguments
  405.         command subcommand arguments
  406.  
  407. Commands and subcommands are character strings, usually consisting only of
  408. letters, but occasionally also including numbers.  The arguments may be
  409. optional or required and the conventions for these arguments are given in the
  410. next section.
  411.  
  412.      The NOS commands are case-sensitive and must be entered in lower case.
  413. However, file names are not case-sensitive and can be entered in either upper
  414. case or lower case.
  415.  
  416.      All of the NOS commands and many of the subcommands may be abbreviated.
  417. You only need to type enough of a command to distinguish it from other
  418. commands that begin with the same letters.  Arguments, however, must be typed
  419. in full.
  420.  
  421.      If a required subcommand or argument is omitted, an error message will
  422. summarize the available subcommands or required arguments.  Typing "?" in
  423. place of a required subcommand or argument will also generate this error
  424. message, which is useful when the command name alone is a valid command.  When
  425. a command takes an optional value parameter, issuing the command without an
  426. argument generally displays the current value of the parameter.
  427.  
  428. 3.2.  NOS Command Arguments
  429.  
  430. NOS command arguments are also referred to as parameters, and are of the
  431. following types:
  432.  
  433. parameter    Literal argument.  A character string such as "clear" with no
  434.              surrounding brackets, is a required portion of a command and is
  435.              to be typed exactly as shown.  Many commands have subcommands
  436.              which are required parameters.
  437.  
  438. <parameter>  Variable argument.  A command argument enclosed by arrow
  439.              brackets, such as "<directory>," is a variable.  An appropriate
  440.              value for the variable must be used in the command.  Appropriate
  441.              values to be substituted are described as needed in this guide.
  442.  
  443. [parameter]  Optional argument.  A command argument enclosed by square
  444.              brackets, such as "[on]," is an optional argument.  The effect of
  445.              including, or not including, this argument in a command is
  446.              described in this guide.
  447.  
  448. [<parameter>]Optional variable argument.  A command argument enclosed by first
  449.              by arrow brackets and then by square brackets, such as
  450.              "[<msglist>]," is an optional variable argument.
  451.  
  452. |            "OR" operator.  Command arguments separated by "|" mean that
  453.              either one or the other argument is to be used.  For example,
  454.              "<host>|clear" means that you are to either enter the variable
  455.              <host> or the literal argument "clear."
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.                                     - 8 -
  467.  
  468.  
  469. 3.3.  Notation
  470.  
  471. The following is the notation to be used in describing the commands in this
  472. guide.
  473.  
  474. <ip_addr>    The numeric IP address of a host in dotted decimal notation,
  475.              optionally enclosed in brackets, e.g. 44.2.0.100 or [44.2.0.100].
  476.  
  477. <host_name>  The symbolic name of a host, e.g. "n6gf" or "eyolo".
  478.  
  479. <host>       Denotes a host, switch, or gateway, which may be specified either
  480.              as a symbolic name (<host_name>), or as a numeric IP address
  481.              (<ip_addr>).  The mappings between IP addresses and symbolic
  482.              names are defined in the file "DOMAIN.TXT" described in section
  483.              B.5 of Appendix B.
  484.  
  485. <callsign>   An amateur callsign, either in upper or lower case.
  486.  
  487. <directory>  The name of an existing directory on the host computer.
  488.              Directory references can either be relative to the current
  489.              directory, or absolute, beginning at the root (\ or /).  Note
  490.              that either back slashes (\) or forward slashes (/) can be used
  491.              in directory names in NOS, while DOS requires back slashes (\).
  492.              To refer to the parent directory, ".." can be used and for the
  493.              current (working) directory "." can be used.
  494.  
  495. <file>       The name of a file, e.g. DOMAIN.TXT.  DOS is not case-sensitive,
  496.              so file names can be given in either upper case or lower case
  497.              with no differences implied.  NOS displays file names in lower
  498.              case.  This guide generally gives file names in upper case when
  499.              the files must be accessed by DOS commands and in lower case when
  500.              they are accessed by NOS commands.
  501.  
  502. . . .        "Continued" notation.  A command argument ending with ". . ."
  503.              means that that multiple arguments of this type may be given.
  504.              This is often used when multiple file names can be specified.
  505.  
  506. <value>      An integer number.
  507.  
  508. <string>     Any string of ASCII characters, surrounded by double quotes (")
  509.              if the string contains spaces, such as "N6GF, Davis, CA".
  510.  
  511. <cr>         A carriage return, usually marked "Return" or "Enter" on most
  512.              keyboards.  Note that all commands given in this guide must be
  513.              followed by a carriage return, although the <cr> notation will
  514.              not be used in this case.  <cr> is only used when the "command"
  515.              needed is a carriage return on an otherwise empty line.
  516.  
  517. <F10>        The command key labeled "F10" or "f10" at the top or left side of
  518.              the keyboard.
  519.  
  520. <space>      The space bar.
  521.  
  522. CTRL-X       The CTRL-X character is entered by holding down the "Ctrl" key
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.                                     - 9 -
  533.  
  534.  
  535.              while pressing the "x" key.  Other common combinations of this
  536.              type are CTRL-Z and CTRL-A.
  537.  
  538.  
  539.  
  540.  
  541. 4.  NOS
  542.  
  543. The program that implements the Internet protocols is NOS.EXE.  In this
  544. section, information on executing NOS, its command and converse modes,
  545. managing multiple sessions, NOS utility commands, escaping back to DOS and
  546. exiting NOS are provided.  Information on the major NOS commands is given in
  547. later sections.
  548.  
  549. 4.1.  Executing NOS
  550.  
  551. If you have installed NOS in your root directory, it is invoked by simply
  552. typing the following at a DOS prompt:
  553.  
  554.         nos
  555.  
  556.  
  557.      If you have installed NOS in a directory other than the root and this
  558. directory is specified in the "path" command in your AUTOEXEC.BAT file, NOS is
  559. invoked by typing the following at a DOS prompt:
  560.  
  561.         nos -d <directory>
  562.  
  563. where <directory> is the directory where NOS has been installed.  For
  564. information on installing NOS, see Appendix B.
  565.  
  566.      When NOS is executed, it first opens the configuration file
  567. "AUTOEXEC.NOS" in the NOS directory.  This file is described in section B.4 of
  568. Appendix B.  NOS then displays the following:
  569.  
  570.         KA9Q NOS version 911229 (PA0GRI v2.0h)
  571.         This version produced by PA0GRI
  572.         Copyright 1991 by Phil Karn (KA9Q) and contributors.
  573.         net>
  574.  
  575. The last line above is the NOS prompt "net>".  If this message is not
  576. displayed, something is wrong.  Check your installation to see if you missed
  577. something.  If you still have troubles, find a NOS user and ask for help.
  578.  
  579.      NOS can also be invoked by typing:
  580.  
  581.         net [-d <directory>] <file>
  582.  
  583. NOS will first attempt to open <file> as an alternate configuration file,
  584. which is read instead of AUTOEXEC.NOS.
  585.  
  586. 4.2.  Command and Converse Modes
  587.  
  588. NOS may be in one of two modes:  command mode or converse mode.  In command
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.                                     - 10 -
  599.  
  600.  
  601. mode, the prompt "net>" is displayed and any of the NOS commands described in
  602. this guide may be entered.  In converse mode, keyboard input is processed
  603. according to the "current session."   Sessions include keyboard chats, file
  604. transfers (ftp), directory listings, AX.25 connections and several others,
  605. which will be described below.  Not all NOS commands initiate a new session,
  606. but for those which do, this guide indicates that a new session will be
  607. created.  In several of the sessions, keyboard input is sent to the remote
  608. host and any output from the remote host is displayed on the console.  In an
  609. ftp session, only ftp converse mode commands may be entered.  In these
  610. sessions, the user remains in converse mode until either the session is
  611. terminated (described in the command sections of this guide) or by escaping
  612. back to command mode, as described below.
  613.  
  614. 4.2.1.  <F10>
  615.  
  616. The user may escape back to command mode from converse mode by pressing <F10>.
  617. The command mode prompt "net>" will be displayed and any of the NOS commands
  618. may be entered.  The session that the user "escaped" from will remain active.
  619.  
  620. 4.2.2.  <cr>
  621.  
  622. By entering <cr> at a "net>" prompt, the user will return to converse mode in
  623. the "current session."  If there is no current session, NOS remains in command
  624. mode and reissues the "net>" prompt.  Multiple sessions can be handled by NOS.
  625. For more information on multiple sessions, see the next section.
  626.  
  627. 4.3.  Managing Multiple Sessions
  628.  
  629. The NOS program can handle multiple sessions.  For example, you can have an
  630. ftp file transfer running at the same time as a keyboard chat session.
  631. However, you should limit your use of multiple sessions that are transmitted
  632. on a 1200 baud radio channel, as you will cause considerable congestion.  Note
  633. that not all sessions, such as local host directory listing sessions, will
  634. result in packet transmissions.
  635.  
  636.      To start a second session, escape from the first session to the "net>"
  637. prompt by pressing <F10>.  Start the second session as you would normally (as
  638. described in the command sections of this guide).
  639.  
  640.      To monitor the multiple sessions, use the "session" command from the
  641. "net>" prompt.  The syntax for this command is:
  642.  
  643.         session [<session #>]
  644.  
  645.  
  646. Without arguments, "session" displays a list of current sessions, including
  647. the active session number(#), the sequential session number since NOS was
  648. first executed (S#), the number of characters in the receive and send queues,
  649. the state of the session, and the remote socket (host and protocol).  An
  650. example of a session list:
  651.  
  652.  #  S#  Type     Rcv-Q Snd-Q State        Remote socket
  653.  1  138 AX25         0     0 Connected    n6spe-1 (N6SPE-1 on ax0)
  654. *2  141 FTP         69     0 Established  eyolo (44.2.0.96:ftp)
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.                                     - 11 -
  665.  
  666.  
  667. An asterisk (*) is shown next to the "current" session; entering <cr> at a
  668. "net>" prompt will put you in converse mode with this session.  Entering an
  669. active session number as an argument to the session command will put you in
  670. converse mode with that session.
  671.  
  672.      Each session (including the "command session") has its own screen.  When
  673. a new session is created, the command display is saved in memory and the
  674. screen is cleared.  When the command escape key <F10> is hit, the current
  675. session screen is saved and the command screen is restored.  When a session is
  676. resumed, its screen is restored exactly as it appeared when it was last
  677. current.
  678.  
  679.      When a session is closed (through commands which will be described
  680. below), the following will be displayed on its screen:
  681.  
  682.         Hit enter to continue
  683.  
  684. When you hit enter, you are returned to the command session ("net>" prompt).
  685.  
  686.      The output of many sessions, such as directory listings, finger listings,
  687. and others, is managed by the "more" function, described in Section 4.4.2
  688. below.  The more function displays one screen at a time, pausing for a command
  689. from the user before continuing the output.  The more function has been
  690. activated when "--More--" is displayed at the bottom of the screen.
  691.  
  692. 4.4.  Utility Commands
  693.  
  694. NOS provides several utility commands to provide help information, display
  695. files, and to manage directories and files.
  696.  
  697. 4.4.1.  help
  698.  
  699. Displays a list of the main NOS commands.  The command "?" is equivalent to
  700. "help." Note that several commands are listed that are not described in this
  701. guide.  Concise descriptions of the commands listed by help are given in
  702. Appendix D.
  703.  
  704. 4.4.2.  more <file> [<file> ...]
  705.  
  706. Displays the specified file(s) a screen at a time.  The prompt "--More--"
  707. appears at the bottom of the screen.  To display the next screen, press the
  708. space bar.  To display the next line, hit <cr>.
  709.  
  710.      This command creates a session that can be suspended or resumed. To close
  711. the session, hit the "q" key at a "--More--" prompt.
  712.  
  713.  
  714.      Note that screen output from other sessions is automatically processed
  715. with the "more" command.  This is indicated by the "--More--" prompt.
  716.  
  717. 4.4.3.  tail <file>
  718.  
  719. Displays the "tail" (the last 18 lines) of the specified file.
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.                                     - 12 -
  731.  
  732.  
  733. 4.4.4.  pwd
  734.  
  735. Displays the name of the current directory on the local machine.
  736.  
  737. 4.4.5.  cd <directory>
  738.  
  739. Changes the current directory to <directory>, which must be an existing
  740. directory on the local machine.  The directory specified can be relative to
  741. the current directory, or absolute, with the name beginning at the DOS root (\
  742. or /).  The name of the new directory is displayed.
  743.  
  744. 4.4.6.  dir [<directory>]
  745.  
  746. List the contents of the specified directory on the console.  If no argument
  747. is given, the current directory is listed.  This command first lists the
  748. directory into a temporary file, then creates a "more" session to display it.
  749. After this completes, the temporary file is deleted.  For example, a listing
  750. of a NOS directory:
  751.  
  752. alias             3,615 21:28  3/02/92   autoexec.nos        805 10:09  3/21/92
  753. bm.exe           33,500  9:59  7/08/90   bm.rc               184 20:39  1/04/92
  754. domain.txt       12,732 18:03  2/29/92   finger/                 21:11 11/17/91
  755. ftpusers             83 22:05 12/30/91   nansi.sys         3,044 19:30  3/20/91
  756. spool/                  20:40 12/12/91   nos.exe         199,573 10:47  3/07/92
  757. 10 files. 30,277,632 bytes free. Disk size 63,809,536 bytes.
  758.  
  759. Note that this 2-column listing gives the file names (a trailing / indicates a
  760. directory name), file size in bytes, and the time and date the file was last
  761. modified.
  762.  
  763. 4.4.7.  rename <oldfile> <newfile>
  764.  
  765. Renames <oldfile> as <newfile>.
  766.  
  767. 4.4.8.  delete <file>
  768.  
  769. Delete the specified file.
  770.  
  771. 4.4.9.  mkdir <directory>
  772.  
  773. Create a sub-directory <directory> in the current working directory.
  774.  
  775. 4.4.10.  rmdir <directory>
  776.  
  777. Remove the sub-directory <directory> from the current working directory.  The
  778. sub-directory must be empty before "rmdir" can be used.
  779.  
  780. 4.5.  Executing DOS Commands
  781.  
  782. While running NOS, you may need to execute some DOS commands or to run a
  783. program such as a text editor.  This can be done by escaping to DOS and then
  784. returning to NOS when you are finished.  To escape to DOS, enter at a "net>"
  785. prompt:
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.                                     - 13 -
  797.  
  798.  
  799.         !
  800.  
  801. You will be returned to your DOS prompt and you can execute any DOS command.
  802. Note that the command "shell" is the same as the "!" command.  If the command
  803. "multitask" is set to "on", NOS will continue to run while you are at the DOS
  804. prompt, but if it is set to "off", all NOS sessions will be suspended.  For
  805. more information on "multitask", see Section B.4.7 of Appendix B.  To return
  806. to NOS, enter at an DOS prompt:
  807.  
  808.         exit
  809.  
  810. You will be returned to the "net>" prompt.
  811.  
  812. 4.6.  Exiting NOS
  813.  
  814. Before you exit NOS, you should check to see if you have any sessions active
  815. and if there is anyone logged into your mailbox.  To check both sessions that
  816. you initiated as well as sessions initiated remotely, you will need to use the
  817. "tcp status" command, described in section 11.1.1.  Mailbox activity can be
  818. checked with the "mbox status" command, described in section 10.6.
  819.  
  820.      When you are sure you want to exit the NOS program and return to DOS,
  821. enter at a "net>" prompt:
  822.  
  823.         exit
  824.  
  825.  
  826.  
  827.  
  828.  
  829. 5.  Keyboard Chat
  830.  
  831. The ttylink command allows you to initiate a keyboard chat connection with a
  832. user at a remote host and a ttylink server on the local host allows a keyboard
  833. chat session to be initiated by a remote user.  A split screen interface is
  834. used to allow easy conversation.  The "telnet" protocol is used to implement
  835. this capability, so it is often called a telnet session.
  836.  
  837. 5.1.  Chat Session Messages
  838.  
  839. There are two commands which control messages that are sent to hosts
  840. attempting to establish a chat session.
  841.  
  842. 5.1.1.  attended [on | off]
  843.  
  844. This tells the host initiating the chat session if your system is attended or
  845. not.  The command "attended on" generates the message "The system is attended"
  846. and the command "attended off" leads to the message "The system is
  847. unattended."  Without an argument, the current attend state is displayed.  The
  848. default is "attended on" so if you do not regularly attend your system, you
  849. should include "attended off" in your AUTOEXEC.NOS file, as described in
  850. Appendix B.
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.                                     - 14 -
  863.  
  864.  
  865. 5.1.2.  motd <string>
  866.  
  867. The specified string is the "message of the day," which is sent following the
  868. attended message to the host initiating the chat session.  If you are not
  869. attending your system, you might use the following example:
  870.  
  871.         motd "If unattended please leave a message in the mailbox"
  872.  
  873.  
  874. 5.2.  Initiating a Chat Session
  875.  
  876. The command to initiate a keyboard chat session with the specified host and
  877. enter chat converse mode is:
  878.  
  879.         ttylink <host>
  880.  
  881. For example:
  882.  
  883.         ttylink n6spe
  884.  
  885. A new session will be established and if the desired host is on the air and
  886. reachable on the network, a message similar to the following will be
  887. displayed:
  888.  
  889. Welcome to TTY-Link at n6spe.ampr.org - The system is attended
  890.  
  891. If the remote system is attended, as indicated in the above example, you can
  892. then type back and forth in much the same way as in an AX.25 connection.  When
  893. you're done, use the <F10> key to escape back to command mode, and then type
  894. "close" to close the connection, as described in section 5.5 below.
  895.  
  896. 5.3.  Accepting a Chat Session
  897.  
  898. If a remote host requests a chat session, a message similar to the following
  899. will be displayed on your console:
  900.  
  901. Incoming Telnet session 2 from 44.2.0.96:1026 on Sat Mar 14 23:16:48 1992
  902.  
  903. A session number is automatically assigned.  You may then select this chat
  904. session and converse with the remote as though you had initiated the session.
  905. If you are in command mode when the request arrives, enter <cr> at a "net>"
  906. prompt and you will enter converse mode for the chat session.  If you are in
  907. converse mode in a session, use the <F10> key to escape back to command mode,
  908. use the "session" command to list the active sessions, and then use the
  909. "session <session#>" command to enter converse mode on the desired telnet
  910. session.
  911.  
  912. 5.4.  File Upload and Download
  913.  
  914. The telnet session can be recorded to a file, or an ASCII file can be uploaded
  915. instead of entering the information at the keyboard.
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.                                     - 15 -
  929.  
  930.  
  931. 5.4.1.  record <file> | off
  932.  
  933. Opens <file> and appends to it all data received or sent on the current
  934. ttylink session.  If you are in telnet converse mode and want to initiate
  935. recording, you will need to use the <F10> key to escape back to command mode
  936. to issue the record command.  The message "Recording into <file>" will be
  937. displayed and another "net>" prompt will be issued.  Enter <cr> on a blank
  938. line and you will return to the ttylink converse mode with recording
  939. activated.  The command "record off" stops recording and closes the file.
  940.  
  941. 5.4.2.  upload <file>
  942.  
  943. Opens <file> (must be an ASCII, file, not a binary file) and sends it on the
  944. current ttylink session as though it were typed on the terminal.  If you are
  945. in ttylink converse mode and want to initiate uploading, you will need to use
  946. the <F10> key to escape back to command mode to issue the upload command.  The
  947. uploading is initiated, but the file contents are not displayed on the screen
  948. during the uploading and no message is displayed to indicate that the
  949. uploading is complete.  Enter <cr> on a blank line at the "net>" prompt and
  950. you will return to the ttylink converse mode.
  951.  
  952. 5.5.  Closing a Chat Session
  953.  
  954. To close a ttylink chat session, the following command is used:
  955.  
  956.         close [<session #>]
  957.  
  958.  
  959. If you are in ttylink converse mode, press <F10> to escape to the "net>"
  960. prompt to issue this command.  If you are running only one session, entering
  961. close without arguments will close the session.  If you have multiple
  962. sessions, entering close without arguments will initiate a close on the
  963. current session.  If you are running multiple sessions, the "session" command
  964. will display a list of these sessions.  Entering close with a session number
  965. argument will initiate a close on the specified session.  Only one of the
  966. hosts involved in the ttylink session needs to initiate the close.
  967. "Disconnect" is functionally the same command as "close."
  968.  
  969.  
  970.  
  971.  
  972. 6.  Mail
  973.  
  974. One of the most useful features of TCP/IP is electronic mail.  Mail can be
  975. delivered to your unattended machine and you can read it at your leisure.
  976. There is no need to log into a PBBS to pick up your messages.  Your messages
  977. can also be temporarily stored on your local switch and be delivered to your
  978. machine when you run NOS.
  979.  
  980.      NOS sends and receives mail using the simple mail transport protocol
  981. (SMTP).  There are two basic ways to compose and read these mail messages:
  982. through the NOS mailbox or BBS, described in section 8 below or through an
  983. external mail program.  There are several external mail programs which can be
  984. used, but only the simplest of these, the program BM, will be described in
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.                                     - 16 -
  995.  
  996.  
  997. this guide.  This section concentrates primarily on BM, but a few comments on
  998. SMTP are given in subsection 6.5.  In addition, a few comments on the post
  999. office protocol (POP) for mail store and forward are given in subsection 6.6.
  1000.  
  1001.      The BM.EXE mail user interface program was created by Bdale Garbee,
  1002. N3EUA, and despite popular belief, "BM" really stands for "Bdale's Mailer."
  1003. It was later extended by Gerard van der Grinten, PA0GRI, and Dave Trulli,
  1004. NN2Z.  BM version 3.3.2 890801 is documented here.
  1005.  
  1006. 6.1.  Executing BM
  1007.  
  1008. BM is a separate program from NOS and thus, it must be executed from a DOS
  1009. shell or subshell.  However, NOS provides a simple command which escapes to a
  1010. DOS subshell and executes BM.  When you quit BM, you also exit the subshell
  1011. and return to NOS command mode.
  1012.  
  1013.      If the command "multitask" is set to "on", NOS will continue to run while
  1014. the user is in BM.  If "multitask" is set to "off", all NOS sessions will be
  1015. suspended while the user is in BM.  For more information on "multitask", see
  1016. Section B.4.7 of Appendix B.
  1017.  
  1018.      BM is invoked by typing the following from a "net>" prompt:
  1019.  
  1020.         mail
  1021.  
  1022. BM will first read the mail configuration file, BM.RC, described in section
  1023. B.6 of Appendix B, and then will read the user mailbox defined in this
  1024. configuration file.  Using the BM main menu commands described in section 6.2,
  1025. you can then compose or read mail messages or manage your mailbox.
  1026.  
  1027.      If you use the command "!" to escape to a DOS subshell, BM may also be
  1028. invoked in another way:
  1029.  
  1030.         bm -u <mailbox> | -f <file>
  1031.  
  1032. With the argument "-u <mailbox>," you can specify which mailbox to read,
  1033. overriding that defined in BM.RC.  With the argument "-f <file>," BM will read
  1034. the messages from <file> instead of a mailbox.  This is useful if you have
  1035. saved previously received messages to a file, using the "s" command described
  1036. in section 6.2.6.
  1037.  
  1038.      When you invoke BM, a banner will be displayed, followed by two lines of
  1039. copyright information and then the mail header information, as described in
  1040. section 6.2.1 below.  Finally, there is a line reminding you to "Type ? for
  1041. help" and then a prompt, consisting of your user name in quotes followed by an
  1042. arrow (>).
  1043.  
  1044. 6.2.  BM Main Menu Commands
  1045.  
  1046. All BM main menu commands are single letters followed by optional arguments.
  1047.  
  1048.      A <msglist> is a space-delimited list of message numbers, for example:
  1049.  
  1050.         1 3 4 5
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.                                     - 17 -
  1061.  
  1062.  
  1063. The message numbers are given in the message headers.
  1064.  
  1065. 6.2.1.  h
  1066.  
  1067. Display message headers.  The message headers contain the message number, the
  1068. status indicating whether it has been read or deleted, the sender, size, date,
  1069. and subject.  For example:
  1070.  
  1071. Mailbox /nos/spool/mail/n6gf.txt - 3 messages, 1 new
  1072.  
  1073.  DY  1  n6cng@n6cng               02 Apr 16:31 7198 TCP/IP FTlPUSERS
  1074.   Y  2  N6SPE@n6spe.ampr.org      02 Apr 17:40  576 Re: eyolo
  1075. > N  3  N6SPE@n6spe.ampr.org      02 Apr 17:42  942 Re: NOS log
  1076.  
  1077. In the first line above, "D" indicates that the message has been marked for
  1078. deletion and "Y" indicates that it has been read.  The message number is 1,
  1079. the sender is n6cng@n6cng it was sent on April 2 at 16:31, it 7198 characters
  1080. long and the subject is "TCP/IP FTPUSERS."  In the third line above, ">"
  1081. indicates that this is the current message and "N" means thaFTlt it has not yet
  1082. been read.
  1083.  
  1084. 6.2.2.  ?
  1085.  
  1086. Display a help menu for BM commands.
  1087.  
  1088. 6.2.3.  [<msg#>]
  1089.  
  1090. Entering a message number from the header listing will cause the message text
  1091. to be displayed.  If a carriage return is entered on a blank line, the current
  1092. message will be displayed.
  1093.  
  1094. 6.2.4.  d [<msglist>]
  1095.  
  1096. Mark messages for deletion.  With no argument, the current message (indicated
  1097. by ">" in the first column of the message header) is marked for deletion.
  1098. Messages marked for deletion are removed when exiting BM via the "q" command,
  1099. when changing to an alternate mailbox with the "n" command, or when updating
  1100. with the "$" command.
  1101.  
  1102. 6.2.5.  u [<msglist>]
  1103.  
  1104. Undelete a message that is marked for deletion.  The status of a message can
  1105. be determined by looking at the status field of the message using the "h"
  1106. command.
  1107.  
  1108. 6.2.6.  s [<msglist>] [<file>]
  1109.  
  1110. The "s" command is used to save messages in a file.  If no file name is given
  1111. the file specified by the mbox variable in BM.RC is used.  If no message
  1112. number is supplied then the current message is saved.  If <file> does not
  1113. exist, it will be created.  If <file> does exist, the messages will be
  1114. appended to this file.  The messages are stored in the same format as a
  1115. mailbox file with all mail headers left intact.  This file can later be read
  1116. into BM by invoking BM with the "-f <file>" argument.
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.                                     - 18 -
  1127.  
  1128.  
  1129. 6.2.7.  w [<msglist>] <file>
  1130.  
  1131. The "w" command is used to save messages in a file.  Only the message body is
  1132. saved.  All mail headers are removed.  If no message number is supplied then
  1133. the current message is saved.
  1134.  
  1135. 6.2.8.  p [<msglist>]
  1136.  
  1137. The "p" command is used to send messages to the printer.  This command uses
  1138. the DOS device PRN for output.  If no message number is supplied then the
  1139. current message is printed.
  1140.  
  1141. 6.2.9.  m [<recipient_list>]
  1142.  
  1143. The "m" command is used to compose a message to be mailed to the list of
  1144. recipients, specified by mail addresses or aliases, which are described in
  1145. section 6.4.  All local recipient addresses (those which don't contain an "@")
  1146. are checked for possible aliases in the ALIAS file, described in section B.7
  1147. of Appendix B.  Each alias that is found, is expanded into its list of
  1148. addresses.  If no recipient list is supplied with the "m" command, you will be
  1149. prompted for a recipient list.
  1150.  
  1151.      When you are composing a message, several commands are available such as
  1152. invoking an editor or reading in text from other messlages or files, as
  1153. described in section 6.3.  To end a message enter a line containing a single
  1154. period.
  1155.  
  1156.      It is important to remember that the input line buffer has a 128
  1157. character limit.  You should format your text by entering a carriage return at
  1158. the end of each line.  Typing excessively long lines may cause data loss due
  1159. to truncation when passing the message through other hosts.  Keeping lines
  1160. less than 80 characters is always a good idea.
  1161.  
  1162. 6.2.10.  r [<msg#>]
  1163.  
  1164. Reply to a message.  Reply reads the header information in order to construct
  1165. a reply to the sender.  The destination information is taken from the "From:"
  1166. or the "Reply-To:" header, if included.  If no message number is supplied the
  1167. current message is used.
  1168.  
  1169. 6.2.11.  f [<msg#>]
  1170.  
  1171. The "f" command is used to forward a mail message to another recipient.  If no
  1172. message number is supplied the current message is used.  The user is prompted
  1173. for the recipients and a subject.  The mail header is added to the message
  1174. text while retaining the complete original message in the body.  Also see the
  1175. ~m command.
  1176.  
  1177. 6.2.12.  b [<msg#>]
  1178.  
  1179. Bounce a message.  Bounce is similar to forwarding but instead of your user
  1180. information, the original sender information is maintained.  If no message
  1181. number is supplied the current message is used.
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.                                     - 19 -
  1193.  
  1194.  
  1195. 6.2.13.  n [<mailbox>]
  1196.  
  1197. Display or change the mailbox.  The "n" command with no arguments will display
  1198. a list of mailboxes containing mail.  If an argument is supplied, then the
  1199. current mailbox is closed and a new mailbox is opened.
  1200.  
  1201. 6.2.14.  l
  1202.  
  1203. List outbound messages.  The job number, the sender, and the destination for
  1204. each message is displayed.  A status of "L" will appear if the SMTP sender has
  1205. the file locked, meaning the message has begun to be sent to its destination.
  1206. If you find that a message has been in the locked state for a long period of
  1207. time, the corresponding SMTP session may be "stuck."  See section 11.1 for a
  1208. description of how to monitor the status of SMTP sessions and to reset them if
  1209. they get stuck.
  1210.  
  1211. 6.2.15.  k [<msglist>]
  1212.  
  1213.      Remove an outbound message from the send queue.  A message can be removed
  1214. from the send queue by specifying the job number obtained by the l command.
  1215. If the message is locked you will be warned that you may be removing a file
  1216. that is currently being sent by SMTP.  It is best not to remove locked
  1217. messages.  They are better handled with the "tcp reset" command, described in
  1218. section 11.1.2.
  1219.  
  1220. 6.2.16.  $
  1221.  
  1222. Update the mailbox, deleting messages marked for deletion.  If you have a
  1223. large number of messages in your mailbox and are cleaning it up by marking
  1224. unwanted messages for deletion, updating the mailbox will shorten the header
  1225. list.
  1226.  
  1227. 6.2.17.  x
  1228.  
  1229. Exit to DOS without changing the data in the mailbox.  Messages marked for
  1230. deletion will NOT be deleted.
  1231.  
  1232. 6.2.18.  q
  1233.  
  1234. Quit to DOS updating the mailbox.  Messages marked for deletion WILL be
  1235. deleted.
  1236.  
  1237. 6.3.  Text Input Commands
  1238.  
  1239. The following commands are available while composing a message.  The tilde
  1240. character (~) must be entered as the first character on a line.
  1241.  
  1242.      ~r <file>   Read <file> into the message buffer.
  1243.  
  1244.      ~m <msg#>   Read <msg#> into the message buffer.
  1245.  
  1246.      ~p          Display the text in the message buffer.
  1247.  
  1248.      ~e          Invoke the editor defined in BM.RC with a temporary file
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.                                     - 20 -
  1259.  
  1260.  
  1261.                  containing
  1262.  
  1263.                  the text in the message buffer.
  1264.  
  1265.      ~q          Abort the current message.  No data is sent.
  1266.  
  1267.      ~~          Insert a single tilde character into the message.
  1268.  
  1269.      ~?          Display the help menu of tilde escape commands.
  1270.  
  1271. 6.4.  Mail Addresses
  1272.  
  1273. Mail is addressed to a recipient, which is either a user at a host  or an
  1274. "alias," which is an alternative name for one or more recipients.  Aliases are
  1275. defined in the ALIAS file, described in section B.7 of Appendix B.  These
  1276. recipients can be on the local host or a remote host.
  1277.  
  1278.      Mail addressing varies from simple to mildly confusing.  The simplest
  1279. form is:
  1280.  
  1281.         <recipient>[@<host>]
  1282.  
  1283. If @<host> is not included, BM will search to see if <recipient> is in the
  1284. ALIAS file on the local host.  If it is, it will be expanded to the recipient
  1285. list given for the alias.  If <recipient> is not given in the alias file, the
  1286. message will be sent to <recipient> on the local host (this is probably not
  1287. what you B.intended, unless you have more than one user on your host).
  1288.  
  1289.      If the address <recipient>@<host> is used, the message will be sent to
  1290. <host>, where <recipient> is first looked up in the ALIAS file on <host>.  If
  1291. <recipient> is found to be an alias, it will be expanded to the recipient list
  1292. given for the alias, and the message will be forwarded to these recipients.
  1293. If <recipient> is not found in the alias file, the message will be delivered
  1294. to <recipient> on <host>.
  1295.  
  1296.      Host names can be f.ound in your DOMAIN.TXT file, described in section B.5
  1297. of Appendix B.  Valid mail user names for a given host can be found using the
  1298. finger command, as described in section 10.2, if the finger files have been
  1299. set up on the the host.  If an ALIAS file has been distributed for your area,
  1300. mail addresses and aliases will be found there.  Otherwise, you will have to
  1301. contact the intended recipient and ask for his or her address.
  1302.  
  1303.      If the remote host of the recipient is not on the air when you try to
  1304. send the message, it will remain in your mail queue until some time when both
  1305. hosts are on the air at the time you attempt to send the message.  To avoid
  1306. this delay, switches have been set up in many areas which run 24 hours a day
  1307. and can be used for mail forwarding.  If the switch your recipient
  1308. communicates with is <switch> (a host name) and this switch forwards the mail
  1309. to your recipient using POP (post office protocol), then the mail can be
  1310. addressed as:
  1311.  
  1312.         <recipient>@<switch>
  1313.  
  1314. tIf POP is not used, then the address to be used is:
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.                                     - 21 -
  1325.  
  1326.  
  1327.         <recipient>%<host>@<switch>
  1328.  
  1329. Your mail will be transferred to <switch> and then forwarded to
  1330. <recipient>@<host>.
  1331.  
  1332. 6.5.  SMTP
  1333.  
  1334. NOS sends and receives mail using the simple mail transport protocol (SMTP).
  1335. This is handled automatically by NOS, although, you may want to "kick" out
  1336. your outgoing mail manually, as described below.
  1337.  
  1338.      When mail is received, SMTP display
  1339. ts the message:
  1340.  
  1341.         New mail arrived for <user> from <sender>
  1342.  
  1343. where <user> is the addressee of the received mail and <sender> is the mail
  1344. address of the person who sent the mail.
  1345.  
  1346.      If you have included the "smtp timer" command in your AUTOEXEC.NOS file
  1347. (see section B.4 of Appendix B), SMTP will check your outbound mail queue at
  1348. the time interval you have set to determine if there is any new outgoing mail
  1349. that should be sent.  If you haven't included this command, or you want to
  1350. send out your mail before the next timer interval, you can manually "kick" out
  1351. your outgoing mail, as described below.
  1352.  
  1353. 6.5.1.  smtp kick
  1354.  
  1355. Reviews the outgoing mail queue and attempts to deliver any pending mail.
  1356. This allows the user to "kick" the mail system manually.  The command can be
  1357. entered at a "net>" prompt after you have composed mail messages.
  1358.  
  1359. 6.5.2.  smtp list
  1360.  
  1361. List the messages in the outgoing mail queue.  For example:
  1362.  
  1363.          S  Job    Size Date  Time  Host    From
  1364.          L  171     244 03/13 07:13 n6spe   n6gf@n6gf
  1365.            n6spe%n6spe@eyolo
  1366.             173     243 03/13 07:14 n6yuv   n6gf@n6gf
  1367.            n6yuv%n6yuv@eyolo
  1368.  
  1369. The "L" entry in the "S" status column indicates that the message entry is
  1370. locked by SMTP; in other words, SMTP is attempting to send the message.
  1371.  
  1372. 6.5.3.  smtp kill <job_number>
  1373.  
  1374. Kills outgoing message number <job_number>, which is given in the "Job" column
  1375. in the "smtp list" command, as shown above.
  1376.  
  1377. 6.5.4.  smtp quiet [on|off]
  1378.  
  1379. DiL  1splay or set the SMTP quiet flag.  This flag determines whether the bell
  1380. sounds when the system announces that incoming mail has arrived.  When quiet
  1381. is set to "off, you hear the bell.  With no arguments, "smtp quiet" displays
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.                                     - 22 -
  1392.  
  1393.  
  1394. the status of the flag.
  1395.  
  1396. 6.6.  POP
  1397.  
  1398. The Post Office Protocol (POP) stores mail on a host, then forwards it on
  1399. demand to a user's host.  It is well-adapted to amateur radio, in which many
  1400. users are only occasionally active on the network.  With the use of POP, the
  1401. forwarding host does not have to keep trying to establish an SMTP connection
  1402. to a destination host that is not always on the air, but rather, it waits for
  1403. the destination host to request that the mail be forwarded.
  1404.  
  1405.      You will have to inquire if POP service is provided in your area.  If so,
  1406. you will need to include "popmail" commands in your AUTOEXEC.NOS file, as
  1407. explained in Sections B.4.28 to B.4.30 in Appendix B.  The only command you
  1408. might want to use otherwise "kicks" the mail out of the forwarding host.
  1409.  
  1410. 6.6.1.  popmail kick <host>
  1411.  
  1412. Starts a pop forwarding session from the specified host.  This command is
  1413. needed when no interval is specified in the "popmail addserver" command,
  1414. described in Section B.4.28 in Appendix B.
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420. 7.  File Transfer
  1421.  
  1422. The ftp command provides for the transfer of files using the file transport
  1423. protocol.  It enables you to do the following:
  1424.  
  1425.         Transfer text and binary files between local and remote host
  1426.         List directories on a remote host
  1427.         Delete files on a remote host
  1428.         Create and remove directories on a remote host
  1429.  
  1430.  
  1431.      The remote host can be unattended and the ftp server on that host will
  1432. provide the requested services. File access privileges are defined in the
  1433. FTPUSERS file, described in section B.8 of Appendix B.  This file defines user
  1434. login names, passwords, directories to be accessed and file access privileges.
  1435. It is a common convention to allow arbitrary users limited access to files
  1436. under the special login names "anonymous" or "guest."
  1437.  
  1438. 7.1.  Ftp Command
  1439.  
  1440. The command ftp is used to initiate an ftp session.  It is invoked as:
  1441.  
  1442.         ftp <host>
  1443.  
  1444. where <host> is the desired remote host.  If the session is established, you
  1445. will enter converse mode on the new ftp session.  Only the ftp commands
  1446. described below are valid in an ftp session.
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.                                     - 23 -
  1458.  
  1459.  
  1460.      When the connection between the two machines is opened, you'll get a
  1461. banner from the remote machine, followed by a login prompt and a password
  1462. prompt.  If you've negotiated with the manager of the remote machine to have a
  1463. special login name and password set up for you in the FTPUSERS file, use these
  1464. names in your login.  If not, use one of the special login names, "anonymous"
  1465. or "guest," and in these cases, use your call sign as your password.  Your
  1466. login and password are recorded in the log file on the remote host, allowing
  1467. the manager of that host to keep track of ftp activity.  After you have logged
  1468. in, you will be presented with the ftp prompt: "ftp>".
  1469.  
  1470. 7.2.  Ftp Converse Mode Commands
  1471.  
  1472. The following are the ftp commands that are valid in ftp converse mode, issued
  1473. at the ftp prompt "ftp>".  Note that you may not have been granted permission
  1474. to use all of these commands.  Refer to Section B.8 of Appendix B for
  1475. information on the user permissions that are generally granted to remote
  1476. users.
  1477.  
  1478. 7.2.1.  dir [<remote_file>|<remote_directory> [<local_file>]]
  1479.  
  1480. Without arguments, "dir" requests that a full directory listing of the remote
  1481. server's current directory be sent to your display.  If one argument is given,
  1482. it is interpreted as a specific file or sub-directory on the remote file
  1483. system that is to be listed.  To refer to the current working directory, use
  1484. "." as the directory specification.  If two arguments are given, the second is
  1485. taken as the local file into which the directory listing should be written
  1486. (instead of being sent to the display).  The full listing gives the file
  1487. names, sizes, and creation dates.
  1488.  
  1489.      You should request a directory listing when you first log into an
  1490. unfamiliar machine.  There will often be a file named "readme" or
  1491. "whathere.txt" that will give some information about the files available on
  1492. the remote machine.  This file can then be acquired with a "get" command
  1493. (described below), and read on your machine to learn more about the files
  1494. available on the remote host.
  1495.  
  1496. 7.2.2.  ls [<file>|<directory> [<localfile>]]
  1497.  
  1498. "ls" is identical to the "dir" command except that an abbreviated directory
  1499. listing is provided.  This listing gives only the file names.
  1500.  
  1501. 7.2.3.  pwd
  1502.  
  1503. Displays the name of the current directory on the remote host ("pwd" literally
  1504. means "print working directory").
  1505.  
  1506. 7.2.4.  cd <remote_directory>
  1507.  
  1508. Changes the current directory on the remote host to the directory indicated by
  1509. <directory>, which must be an existing directory on the remote host.  The
  1510. directory specified can be relative to the current directory, or absolute,
  1511. with the name beginning at the root (\ or /).
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.                                     - 24 -
  1524.  
  1525.  
  1526. 7.2.5.  get <remote_file> [<local_file>]
  1527.  
  1528. Asks the remote host to send the file specified in the first argument and to
  1529. write the file on the local machine.  The second argument, if given, will be
  1530. the name of the file on the local machine; otherwise it will have the same
  1531. name as on the remote host.   See the "type" command below if the file
  1532. requested is other than an ASCII file.   If the file is over 10,000 characters
  1533. in size, you should only start the transfer when the radio channel is
  1534. relatively quiet.  Use the "abort" command described in section 7.3 below if
  1535. you want to terminate the transfer before it has been completed.
  1536.  
  1537. 7.2.6.  mget <remote_filename> [<remote_filename> ...]
  1538.  
  1539. Send a collection of files from the remote host.  File names may include wild
  1540. card characters; they will be interpreted and expanded into a list of files by
  1541. the remote host.  For example:
  1542.  
  1543.         mget *.txt
  1544.  
  1545. will send all files having a file name extension of ".txt".  The files will
  1546. have the same name on the local host that they had on the remote host.  See
  1547. the "type" command below if the files requested are other than ASCII files.
  1548. Use the "abort" command described in section 7.3 below if you want to
  1549. terminate the transfer before it has been completed.
  1550.  
  1551. 7.2.7.  put <local_file> [<remote_file>]
  1552.  
  1553. Asks the local host to send the file specified in the first argument and to
  1554. write the file on the remote machine.  The second argument, if given, will be
  1555. the name of the file on the remote host; otherwise it will have the same name
  1556. as on the local machine.  You must have write privilege on the remote host to
  1557. use this command.  Use the "abort" command below if you want to terminate the
  1558. transfer before it has been completed.  See the "type" command below if the
  1559. file to be sent is other than an ASCII file.
  1560.  
  1561. 7.2.8.  mput <local_filename> [<local_filename> ...]
  1562.  
  1563. Send a collection of files to the server.  File names may include wild card
  1564. characters; they will be expanded locally into a list of files to be sent.
  1565. For example:
  1566.  
  1567.         mput *.txt
  1568.  
  1569. will transfer all files having the file name extension ".txt" on the local
  1570. host.  The files will have the same name on the server as on the local system.
  1571. If the files you want to send are other than ASCII files, you must use the
  1572. "type" command below before initiating the transfer.  You must have write
  1573. privilege on the remote host to use this command.
  1574.  
  1575. 7.2.9.  quit
  1576.  
  1577. Terminates the ftp session.
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.                                     - 25 -
  1590.  
  1591.  
  1592. 7.2.10.  type [a | i]
  1593.  
  1594. Tells both the local and remote hosts the type of file that is to be
  1595. transferred.  Without arguments, the current mode is displayed.  The default
  1596. is "a", which means ASCII (i.e., a text file).  In "i" mode, which means
  1597. "image", files are sent exactly as they appear in the file system.  This mode
  1598. must be used when exchanging raw binary files (executables, compressed
  1599. archives, etc).  The file type must be set before a "get" or "put" command is
  1600. initiated.  The file type remains in effect until it is changed by a
  1601. subsequent "type" command.
  1602.  
  1603. 7.2.11.  dele <remote_file>
  1604.  
  1605. Deletes a file on the remote machine.  You must have delete privilege on the
  1606. remote host to use this command.
  1607.  
  1608. 7.2.12.  mkdir <remote_directory>
  1609.  
  1610. Creates a directory with the name <remote_directory> on the remote machine.
  1611. You must have write privilege on the remote host to use this command.
  1612.  
  1613. 7.2.13.  rmdir <remote_directory>
  1614.  
  1615. Deletes <remote_directory> on the remote machine.  The remote directory must
  1616. be empty before you can remove it.  You must have delete privilege on the
  1617. remote host to use this command.
  1618.  
  1619. 7.2.14.  verbose [0 | 1 | 2 | 3]
  1620.  
  1621. Set or display the level of message output in file transfers.  Verbose 0 gives
  1622. the least output, and verbose 3 the most, as follows:
  1623.  
  1624.      0: Display error messages only.
  1625.  
  1626.      1: Display error messages plus a one-line summary after each transfer
  1627.         giving the name of the file, its size, and the transfer time and rate.
  1628.  
  1629.      2: Display error and summary messages plus the progress messages
  1630.         generated by the remote FTP server.
  1631.  
  1632.      3: Display all messages. In addition, a "hash mark" (#) is displayed for
  1633.         every 1,000 bytes sent or received.
  1634.  
  1635. 7.2.15.  hash
  1636.  
  1637. A synonym for the "verbose 3" command.
  1638.  
  1639.  
  1640. 7.2.16.  user <username>
  1641.  
  1642. Normally you will be asked for your username when you log in to FTP.  However,
  1643. if you mistype your name and the remote system rejects it, you can then try
  1644. again with the "user" command.
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.                                     - 26 -
  1656.  
  1657.  
  1658. 7.2.17.  pass <password>
  1659.  
  1660. Normally you will be asked for your password when you log into FTP.  However,
  1661. if you mistype your password and the remote system rejects it, you can then
  1662. try again with the "pass" command.
  1663.  
  1664. 7.3.  Aborting a File Transfer
  1665.  
  1666. To abort a get, mget, put, mput, dir or ls operation in progress, it is
  1667. necessary to escape back to the command mode ("net>" prompt) and use the
  1668. "abort" command (this command works only on FTP sessions).
  1669.  
  1670. 7.3.1.  abort [<session #>]
  1671.  
  1672. Aborts an ftp file transfer operation in progress on the indicated session.
  1673. Issued without an argument, the current session is aborted.  Abort is valid
  1674. only when a transfer is in progress.  When a file transfer operation is
  1675. aborted, a partial copy of the transferred file will be left on the
  1676. destination machine, which must be removed manually if it is unwanted.  This
  1677. is also true for a dir or ls operation when the directory listing is written
  1678. as a local file.  After the abort is completed, you can return to the ftp
  1679. session and use other ftp converse commands.
  1680.  
  1681. 7.4.  Ftp Example
  1682.  
  1683. In the ftp example below, the user initiates an ftp session with the remote
  1684. host "eyolo," logs in as the user "anonymous," requests a directory listing,
  1685. changes to subdirectory, gets a binary file and terminates the session.  The
  1686. text given in parentheses to the right of the commands indicate what has been
  1687. typed by the user.
  1688.  
  1689. net> ftp eyolo                                              (ftp eyolo)
  1690. Resolving eyolo... Trying 44.2.0.96:ftp...
  1691. FTP session 1 connected to eyolo
  1692. 220 eyolo.ampr.org FTP version 911229 ready at Mon Mar 23 16:16:54 1992
  1693. Enter user name: anonymous                                  (anonymous)
  1694. 331 Enter PASS command
  1695. Password: n6gf                                              (n6gf)
  1696. 230 Logged in as anonymous, restrictions apply
  1697. ftp> dir                                                    (dir)
  1698. 200 Port command okay
  1699. 150 opening data connection for LIST /public
  1700. docs/                   16:42  3/02/92  lists/                  16:40  3/02/92
  1701. programs/               14:40  3/02/92  utility/                16:42  3/02/92
  1702. whathere.txt     1,755  18:22  3/21/92
  1703. 5 files. 6,959,104 bytes free.  Disk size 10,584,064 bytes.
  1704. LIST: 265 bytes in 13 sec (20/sec)
  1705. 226 File sent OK
  1706. ftp> cd programs                                            (cd programs)
  1707. 257 "/public/programs" is current directory
  1708. ftp> dir                                                    (dir)
  1709. 200 Port command okay
  1710. 150 Opening data connection for LIST /public/programs
  1711. bm.exe          41,225  17:55  2/25/92  nos.exe        174,454  17:43  2/25/92
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.                                     - 27 -
  1722.  
  1723.  
  1724. 2 files. 6,959,104 bytes free.  Disk size 10,584,064 bytes.
  1725. LIST: 135 bytes in 6 sec (23/sec)
  1726. 226 File sent OK
  1727. ftp> type i                                                 (type i)
  1728. ftp> get bm.exe                                             (get bm.exe)
  1729. 200 Type OK
  1730. 200 Port command okay
  1731. 150 opening data connection for RETR bm.exe
  1732. RETR: 41225 bytes in 1521 sec (27/sec)
  1733. 226 File sent OK
  1734. ftp> quit                                                   (quit)
  1735. 221 Goodbye!
  1736. FTP session 1 closed: EOF
  1737. Hit enter to continue
  1738.  
  1739.  
  1740.      The user's callsign was used as the password, which is shown in this
  1741. example.  However, the password is not echoed to the screen by the software.
  1742. After logging in, the prompt is "ftp>".  The display generated by the "dir"
  1743. command in this example shows that the user was logged into the /public
  1744. directory.  The listing shows that there is one file, named "whathere.txt," of
  1745. size 1755 bytes, created at 18:40 on 3/21/92.  There are also four
  1746. subdirectories, indicated by "/" at the end of their names: "docs/," "lists/,"
  1747. "programs/," and "utility/," all created on 3/2/92.  The dir output is
  1748. finished with the "226 File sent OK" message.  The command "cd programs" is
  1749. issued to change to the subdirectory programs.  A dir command on this
  1750. subdirectory shows that there are two files, "bm.exe" and "net.exe."  These
  1751. are executable programs since the file name extensions are "exe" and
  1752. therefore, they are binary files.  The "type i" command is issued so that a
  1753. binary file can be transferred.  Note that due to an apparent bug in the
  1754. program, the response to this command "200 Type OK" does not get displayed
  1755. until after the next ftp command is issued.  The "get" command is issued and
  1756. there will be a delay as the "bm.exe" file is retrieved.  This is also
  1757. finished when the message "226 File sent OK" is received.
  1758.  
  1759.  
  1760.  
  1761.  
  1762. 8.  Mailbox or BBS
  1763.  
  1764. NOS provides a service known either as a mailbox or a bulletin board system
  1765. (BBS).  This provides services for reading and composing mail, reading and
  1766. composing bulletins, listing file directories on a remote host, uploading and
  1767. downloading files, AX.25 connections from a remote host, and other services to
  1768. be explained below.  Note that many of these services are provided more
  1769. conveniently by other NOS commands.  The best use of these services by NOS
  1770. users is as an alternative to BM for reading and composing mail messages.
  1771. While I think that BM offers better services for these functions, the mailbox
  1772. has the advantage that it does not need the additional memory required by the
  1773. DOS subshell for running BM.
  1774.  
  1775.      The primary value of the NOS mailbox (BBS) is in providing TCP/IP
  1776. services for AX.25 users.  An AX.25 connection to a host running NOS enters
  1777. through the mailbox, giving the AX.25 user access to the AMPRNET.  This
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.                                     - 28 -
  1788.  
  1789.  
  1790. introduction to TCP/IP should encourage AX.25 users to switch to NOS and
  1791. become part of AMPRNET.  Since this service is not expected to be heavily
  1792. used, the documentation provided here is not very detailed.
  1793.  
  1794. 8.1.  Mailbox Messages
  1795.  
  1796. There are two commands that control messages that are sent to users who log
  1797. into your mailbox.
  1798.  
  1799. 8.1.1.  mbox motd <string>
  1800.  
  1801. Send <string> as the message of the day to a user who has just logged into
  1802. your mailbox.  Since many users may be unfamiliar with the use of this
  1803. mailbox, I use the following message of the day:
  1804.  
  1805.         mbox motd "Type 'H<cr>' for help, 'I<cr>' for information"
  1806.  
  1807. This message can be defined in the AUTOEXEC.NOS file, as described in Appendix
  1808. B.
  1809.  
  1810. 8.1.2.  mbox attend [on | off]
  1811.  
  1812. Display or set the mailbox "attended" flag.  This is used to announce in the
  1813. mailbox whether or not the station manager is present and willing to chat (via
  1814. the mailbox "Operator" command).  If the mailbox attended flag is off, the
  1815. response to the chat command is the message: "Sorry - the system is
  1816. unattended" and the mailbox prompt is again displayed.  If the mailbox
  1817. attended flag is on, a chat session is initiated.
  1818.  
  1819. 8.2.  Initiating a Mailbox Session
  1820.  
  1821. A mailbox session is initiated with the command
  1822.  
  1823.         telnet <host>
  1824.  
  1825. where <host> is either the local host (for reading and composing your own
  1826. mail) or a remote host.  To initiate a session on the local host, an
  1827. alternative command is:
  1828.  
  1829.         bbs
  1830.  
  1831. The mailbox session begins with a banner message including "KA9Q NOS" and the
  1832. name of the host.  The user is then prompted for a login name and a password.
  1833. You should always use your callsign for the login name.  If you have not used
  1834. the mailbox on this host before, you can usually use anything for the
  1835. password, including simply <cr>.  Until you have requested additional
  1836. permissions from the host manager (sysop), your privileges on this host will
  1837. be limited.  When the sysop gives you added privileges, you will also be given
  1838. a specific password.  Login names, passwords, and user permissions are defined
  1839. in the FTPUSERS file -- see Section B.8 of Appendix B.
  1840.  
  1841.      After entering your login name and password, some welcome information and
  1842. then a mailbox prompt is displayed; for example, on my local switch:
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.                                     - 29 -
  1854.  
  1855.  
  1856.  
  1857.         [NOS-H$]
  1858.         Welcome n6gf,
  1859.         to the eyolo.ampr.org TCP/IP Mailbox (911229 (PA0GRI v2.0h))
  1860.         Type 'H<cr>' for help, 'I<cr>' for information
  1861.  
  1862.         You have 2 messages  -  1 new
  1863.         Current msg# 1 :
  1864.          ?,A,B,C,D,E,F,H,I,J,K,L,M,N,O,P,R,S,T,U,V,W,X,Z >
  1865.  
  1866. The line after the "welcome" message is the "mbox motd" described above.  You
  1867. are told how many messages are waiting for you and how many of these are new.
  1868. Then the mailbox prompt is displayed, indicating the current message number
  1869. and reminding you of the first letters of all of the mailbox commands.
  1870.  
  1871.      An AX.25 user initiates a mailbox session by simply connecting to the
  1872. callsign of the TCP/IP host.  The login proceeds as for a NOS user.
  1873.  
  1874. 8.3.  Mailbox Commands
  1875.  
  1876. As indicated by the prompt above, there is a long list of mailbox commands.
  1877. These commands can be typed in full, or abbreviated by the first letter of the
  1878. command.  Note again that you may not have permission to use all of these
  1879. commands.  For details on the permission codes, see Section B.8 of Appendix B.
  1880.  
  1881. 8.3.1.  ?
  1882.  
  1883. Displays a summary of mailbox commands:
  1884.  
  1885. (?)help    (A)rea  (B)ye    (C)onnect (D)ownload (E)scape  (F)inger
  1886. (H)elp     (I)nfo  (J)heard (K)ill    (L)ist     (M)busers (N)odes
  1887. (O)perator (P)orts (R)ead   (S)end    (T)elnet   (U)pload  (V)erbose
  1888. (W)hat     (X)pert (Z)ap
  1889.  
  1890.  
  1891. 8.3.2.  Area [<area_name>]
  1892.  
  1893. The Area command, without an argument, lists the mail areas (i.e. mailboxes)
  1894. that contain messages you may read.  The list gives the name of each area,
  1895. followed by a description of the area's contents. When the Area command is
  1896. followed by a valid <area_name>, your current mail context will be switched to
  1897. the new area.  You may then use the Read and List commands to review messages
  1898. in the selected area.  To add your own message to one of these areas, first
  1899. select the area with the Area command, and then use the Send command to send
  1900. mail to that area.  The mail areas are defined in the AREAS file, described in
  1901. section B.10 of Appendix B.
  1902.  
  1903. 8.3.3.  Bye
  1904.  
  1905. The Bye command allows you to exit from the NOS mailbox. This closes your
  1906. mailbox file, removes any messages that you have deleted with the Kill command
  1907. and terminates the session.
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.                                     - 30 -
  1920.  
  1921.  
  1922. 8.3.4.  Connect [<port>] [<callsign> | <node>] [<digipeater> . . .]
  1923.  
  1924. The connect command allows you to connect to another AX.25 station through the
  1925. mailbox systems's radio port(s) or through a NET/ROM node known to the mailbox
  1926. system, or to initiate a keyboard chat with the mailbox system operator.
  1927.  
  1928.      You connect via AX.25 if you specify a <port> on the command line.  You
  1929. can determine what AX.25 ports are available by using the "Ports" command.
  1930. The connection will use your callsign with the SSID modified.  The station you
  1931. want to connect to is specified in the "<callsign>" parameter.  If you need to
  1932. reach this station via one or more digipeaters, enter the list list of
  1933. digipeaters following the destination station's callsign (note that the word
  1934. "via" is not needed).
  1935.  
  1936.      If you don't specify a <port> on the connect command, the system will
  1937. attempt to make a NET/ROM connection to the node given by the "<node>"
  1938. parameter.  You can get a list of nodes known to this system by using the
  1939. "Nodes" command.
  1940.  
  1941. 8.3.5.  Download [<directory>/] <filename>
  1942.  
  1943. The Download command sends an ASCII (plain text) file from the remote host to
  1944. the current directory of the local host. The optional <directory> is to be
  1945. included if the desired file is not in the current directory, as determined
  1946. with the What command.
  1947.  
  1948. 8.3.6.  DU [<directory>/] <filename>
  1949.  
  1950. The DU (download uuencoded) command sends a binary file, converted to
  1951. uuencoded ASCII from the remote host.  You will need the UUDECODE.EXE program
  1952. to convert this ASCII file back to binary after the download.
  1953.  
  1954. 8.3.7.  Escape [<escape_character>]
  1955.  
  1956. Without an argument, Escape displays the current escape character.  This
  1957. character is used to exit from a chat session. The escape character may be
  1958. changed to one of your preference by entering "Escape" followed by <space> and
  1959. the character that will become the new escape character.  This must be a
  1960. single typed character (the <CTRL> key may be used in addition).
  1961.  
  1962. 8.3.8.  Finger [<username>][@<host>]
  1963. v
  1964. The Finger command retrieves personal information about users of a system.
  1965. When issued without parameters, a list of known users on the mailbox host is
  1966. displayed.  For more information on the finger command, see section 10.2.
  1967.  
  1968. 8.3.9.  Help [<command_name>]
  1969.  
  1970. The Help command will display help for a given command.  Without a parameter,
  1971. "Help" will display the following list of command names for which help
  1972. information is available:
  1973.  
  1974. area        bye         connect     download    escape      finger
  1975. help        info        jheard      kill        list        musers
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.                                     - 31 -
  1986.  
  1987.  
  1988. nodes       operator    ports       read        send        telnet
  1989. upload      verbose     xpert       what        zap
  1990.  
  1991.  
  1992.      To provide help information on your own system, you will need to install
  1993. the mailbox help files, described in Section B.11 of Appendix B.
  1994.  
  1995. 8.3.10.  Info
  1996.  
  1997. The Info command provides information about the mailbox host.  This
  1998. information must be made available by the mailbox manager, as described in
  1999. Section B.11 of Appendix B.
  2000.  
  2001. 8.3.11.  Jheard [<interface>]
  2002.  
  2003. The Jheard command displays a list of all the station callsigns that have been
  2004. heard by the mailbox host packet station on the specified interface.  With no
  2005. argument, the "heard" lists for all interfaces is displayed.  The format of
  2006. the display is the same as that for the "ax heard" command, described in
  2007. section 10.1.
  2008.  
  2009. 8.3.12.  Kill <message_number> [<message_number> ...]
  2010.  
  2011. The Kill command deletes messages from the current mailbox area (if you have
  2012. been given that permission by the operator).  At least one message number must
  2013. be supplied.
  2014.  
  2015. 8.3.13.  List [<starting_msg_number> [<ending_msg_number>] ]
  2016.  
  2017. The List command displays a list of the messages in the current mailbox (or
  2018. "area").  For each message, the list contains the subject header line, the
  2019. time and date it was created, who it is from, how many bytes long it is, and
  2020. whether or not it has been read.  You may include an optional
  2021. <starting_msg_number> from which to begin displaying  the list.  If you
  2022. specify a starting message number, then  you may also specify an ending number
  2023. as well.  This will limit the display for you in case there are a large number
  2024. of messages in a particular "area" mailbox.
  2025.  
  2026. 8.3.14.  Musers
  2027.  
  2028. The Musers command displays a list of all the current users of the mailbox and
  2029. how they have connected to it.
  2030.  
  2031. 8.3.15.  Nodes [<node>]
  2032.  
  2033. The Nodes command without a parameter prints a list of NET/ROM nodes that are
  2034. known to the mailbox system.  For a specified known node, information on the
  2035. node is displayed.  A connection to one of these nodes can be attempted with
  2036. the "Connect <node>" command.
  2037.  
  2038. 8.3.16.  Operator
  2039.  
  2040. The Operator command initiates a keyboard chat with the operator of the
  2041. mailbox system. When you select this mode, a new  window  will be  opened on
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.                                     - 32 -
  2052.  
  2053.  
  2054. the  operator's  console, and whatever you type will be  visible  there.  If
  2055. the operator is present, and types something in return, it will be sent back
  2056. to you.  If the operator is not present (the mailbox attended flag is off on
  2057. the operator's host), you will receive the message "Sorry -- the system is
  2058. unattended" and the mailbox prompt will again be displayed.
  2059.  
  2060.      When you wish to  terminate the chat session, type  the  escape character
  2061. on your keyboard, and then press <cr>.  The default escape character is CTRL-
  2062. X.  This escape character may be changed to whatever you prefer by using the
  2063. "Escape" command.
  2064.  
  2065. 8.3.17.  Ports
  2066.  
  2067. The Ports command prints a list of AX.25 interfaces (ports) that are installed
  2068. on the mailbox system, along with a description if one has been setup for that
  2069. port.  These ports can be used to make outgoing AX.25 connections with the
  2070. "Connect" command.
  2071.  
  2072. 8.3.18.  Read <message_number> [<message_number> ...]
  2073.  
  2074. The Read command allows you to read a message (or messages) from the current
  2075. mail area.  The read a specific message, you may either type "read
  2076. <message_number>" or just the number by itself.  Typing <cr> at a mailbox
  2077. prompt displays the message indicated by the "Current msg #" in the prompt.
  2078.  
  2079. 8.3.19.  Send
  2080.  
  2081. There are three versions of the Send command, allowing you to compose or
  2082. forward a mail message:
  2083.  
  2084.         S[end] <username>[@<host>]
  2085.         SR [message_number]
  2086.         SF <user>[@<host>]
  2087.  
  2088. The "S" command allows you to compose a message to be sent to the indicated
  2089. address.Th  The "SR" command allows you to compose a "reply" to either the
  2090. current message or the message number specified.  The subject will be copied
  2091. and the reply will be sent to the address it was sent from.  In composing a
  2092. message, remember to enter <cr> at the end of each line and to terminate the
  2093. message with either /EX or CTRL-X followed by <cr>.  A message can be aborted
  2094. with CTRL-A.  The "SF" command will forward a copy of the current message to
  2095. the user specified.
  2096.  
  2097. 8.3.20.  Telnet <hostname>
  2098.  
  2099. The Telnet command allows you to initiate a mailbox or BBS session on another
  2100. host.  This allows an AX.25 user to gain access to the TCP/IP network.
  2101.  
  2102. 8.3.21.  Upload [<directory>/]<filename>
  2103.  
  2104. The Upload command allows you to transfer an ASCII file from the local host to
  2105. the mailbox host.   A directory other than the current working directory on
  2106. the mailbox host may be specified.  The transfer proceeds line-by-line until
  2107. the file is complete.  The transfer is terminated by entering either a CTRL-Z
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.                                     - 33 -
  2118.  
  2119.  
  2120. or /EX and <cr> on an otherwise blank line.
  2121.  
  2122. 8.3.22.  Verbose <message_number> [<message_number> ...]
  2123.  
  2124. The Verbose command is the same as the Read command, but all headers on the
  2125. mail message are displayed.  The Read command only displays an abbreviated
  2126. header.
  2127.  
  2128. 8.3.23.  What [<directory>]
  2129.  
  2130. The What command displays a sorted directory listing of the current directory
  2131. or the specified directory.
  2132.  
  2133. 8.3.24.  Xpert
  2134.  
  2135. The Xpert command toggles this mailbox session between using long and short
  2136. prompts.
  2137.  
  2138. 8.3.25.  Zap [directory>/]<file>
  2139.  
  2140. The Zap command deletes <file> in the current directory or the specified
  2141. directory.  You must be granted permission to delete files by the operator of
  2142. the mailbox system to use this command.
  2143.  
  2144.  
  2145.  
  2146.  
  2147. 9.  AX.25 Services
  2148.  
  2149. NOS provides AX.25 services, better known as the standard packet radio
  2150. protocol that you probably used before you switched to TCP/IP.  This allows
  2151. you to use NOS to move to another frequency and check into the local AX.25
  2152. PBBS, or to initiate a keyboard session with a friend who hasn't been
  2153. convinced to switch to TCP/IP yet.
  2154.  
  2155. 9.1.  Initiating an AX.25 Connection
  2156.  
  2157. The connect command is used to initiate an AX.25 connection.  The syntax is:
  2158.  
  2159.         connect ax0 <callsign> [<digipeater> ...  ]
  2160.  
  2161. This initiates an AX.25 session to the specified call sign.  Up to 7 optional
  2162. digipeaters may be given; note that the word "via" is NOT needed.  Data sent
  2163. on this session goes out in conventional AX.25 packets with no upper layer
  2164. protocol.  The de-facto presentation standard format is used, in that each
  2165. packet holds one line of text, terminated by a carriage return.  Two examples
  2166. are:
  2167.  
  2168.         connect ax0 n3eua                (connect direct to N3EUA)
  2169.         connect ax0 n3eua n1fed n0ccz    (connect to N3EUA via N1FED and N0CCZ)
  2170.  
  2171. In response to this command, a new session will be initiated, with the
  2172. following message for the first example above:
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.                                     - 34 -
  2184.  
  2185.  
  2186.  
  2187.         Trying N3EUA on ax0...
  2188.  
  2189. If the connection is made, the following is displayed:
  2190.  
  2191.         AX25 session 2 connected to n3eua
  2192.  
  2193. At this point, you're connected just like using a plain old TNC, on a session
  2194. which can be suspended, resumed, or closed as with all NOS sessions.
  2195.  
  2196.      When you're ready to disconnect, use the <F10> key to escape from the
  2197. session back to the "net>" prompt, and then type "disconnect", as described in
  2198. section 9.3.
  2199.  
  2200. 9.2.  File Upload and Download
  2201.  
  2202. AX.25 sessions can be recorded to a file and a file can be uploaded in place
  2203. of typing the information on the keyboard.
  2204.  
  2205. 9.2.1.  record <file> | off
  2206.  
  2207. Opens <file> and appends to it all data received or sent on the current AX.25
  2208. session.  If you are in AX.25 converse mode and want to initiate recording,
  2209. you will need to use the <F10> key to escape back to command mode to issue the
  2210. record command.  The message "Recording into <file>" will be displayed and
  2211. another "net>" prompt will be issued.  Enter <cr> on a blank line and you will
  2212. return to the AX.25 converse mode with recording activated.  The command
  2213. "record off" stops recording, displays the message "Recording off" and closes
  2214. the file.
  2215.  
  2216. 9.2.2.  upload <file>
  2217.  
  2218. Opens <file> and sends it on the current AX.25 session as though it were typed
  2219. on the terminal.  If you are in AX.25 converse mode and want to initiate
  2220. uploading, you will need to use the <F10> key to escape back to command mode
  2221. to issue the upload command.  The uploading is initiated, but the file
  2222. contents are not displayed on the screen during the uploading and no message
  2223. is displayed to indicate that the uploading is complete.  Enter <cr> on a
  2224. blank line at the "net>" prompt and you will return to the AX.25 converse
  2225. mode.
  2226.  
  2227. 9.3.  Terminating an AX.25 Connection
  2228.  
  2229. To terminate an AX.25 connection, use the following command:
  2230.  
  2231.         disconnect [<session #>]
  2232.  
  2233.  
  2234. If you are in AX.25 converse mode, press <F10> to escape back to the "net>"
  2235. prompt to issue this command.  If you are running only one session, entering
  2236. disconnect without arguments will terminate the connection.  If you have
  2237. multiple sessions, entering disconnect without arguments will initiate a close
  2238. on the current session.  If you are running multiple sessions, the "session"
  2239. command will display a list of these sessions.  Entering disconnect with a
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.                                     - 35 -
  2250.  
  2251.  
  2252. session number argument will initiate a close on the specified session. After
  2253. entering disconnect, if you re-enter the disconnected session, you will find
  2254. the message "AX25 session 1 closed:  Normal" and the session will be
  2255. terminated.  Note that "disconnect" is the same as the "close" command and
  2256. that the two command names can be used fully interchangeably.
  2257.  
  2258.  
  2259.  
  2260.  
  2261. 10.  Network Information and NOS Status
  2262.  
  2263. Several commands are available to acquire information about the network and
  2264. its users and about the status of NOS and its mailbox.
  2265.  
  2266. 10.1.  ax25 heard
  2267.  
  2268. Displays the AX.25 "heard" list.  For each interface that is configured to use
  2269. AX.25, a list of all AX.25 addresses (callsigns and host names) heard through
  2270. that interface is shown, along with a count of the number of packets heard
  2271. from each station and the interval, in hr:min:sec format, since each station
  2272. was last heard.  This entry is always present even if no packets have been
  2273. sent.  If this list is too long to be displayed on one screen, it will be
  2274. handled by the "more" function, although a new session will not be created.
  2275. For example:
  2276.  
  2277. Interface  Station   Time since send  Pkts sent
  2278. ax0        N6GF          0:00:00:11         74
  2279. Station   Time since heard Pkts rcvd : Station   Time since heard Pkts rcvd
  2280. N6SPE-1       0:00:00:08        328  : N6GF          0:00:00:11         73
  2281. KB6KYJ-15     0:00:00:33         17  : HIGH          0:00:00:33        419
  2282. K6DOP-15      0:00:00:56         50  : KB6RIH        0:00:16:21        140
  2283. N6YUV         0:00:25:07         43  : W6HIR-1       0:00:35:12         10
  2284.  
  2285. The first two lines indicate that the local host "N6GF" has sent out a total
  2286. of 74 packets on interface ax0, with the last packet sent 11 seconds ago.  The
  2287. following five lines provide information on eight remote hosts that have been
  2288. heard on the interface.
  2289.  
  2290.      To clear the "heard" list and begin accumulating new information, use the
  2291. command:
  2292.  
  2293.         ax25 flush
  2294.  
  2295.  
  2296. 10.2.  finger [<finger_file>][@<host>]
  2297.  
  2298. This command allows you to "fin7ger" information files on your host or on a
  2299. remote host.  Finger files are described in section B.9 of Appendix B.
  2300. <finger_file> is the name of the finger information file you wish to query and
  2301. <host> is the name of the remote host where the file resides.
  2302.  
  2303.      If you issue the command in the following form:
  2304.  
  2305.         finger <finger_file>
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.                                     - 36 -
  2316.  
  2317.  
  2318. you can query information from a finger file on the local host, namely your
  2319. own system.  This is useful for testing finger on a system that you know is
  2320. running.
  2321.  
  2322.      The command in the following form:
  2323.  
  2324.         finger @<host>
  2325.  
  2326. returns a list of all finger files available on <host>.  It also displays a
  2327. list of users currently logged into the mailbox, in the following form:
  2328.  
  2329.         Current remote users:
  2330.         User       State    S#  Where
  2331.         n6spe      CMD      137 44.2.0.100:1033
  2332.  
  2333. This indicates that user N6SPE is at the mailbox prompt (CMD), in session
  2334. number 137, on IP saddress 44.2.0.100, port 1033.
  2335.  
  2336.      Finally, issuing the command in the form:
  2337.  
  2338.         finger <finger_file>@<host>
  2339.  
  2340. will display <finger_file> from <host>.  This initiates a new NOS session and
  2341. the output displayed is processed by the "more" command, described in Section
  2342. 4.4.2.
  2343.  
  2344. 10.3.  ping <host> [<length> [<interval>]]
  2345.  
  2346. This command is used to see if a remote host is on the air and if so, to
  2347. determine the quality of the path between the local and remote host.  When the
  2348. command is issuesd in the form:
  2349.  
  2350.         ping <host>
  2351.  
  2352. the remote host given in the argument is queried once.  If it returns an echo,
  2353. the IP number of the host and the round trip time required are displayed.  For
  2354. example:
  2355.  
  2356.         44.2.0.96: rtt 4007
  2357.  
  2358. In this case, the round trip to the remote host [44.2.0.96] took 4007 ms, or
  2359. about 4 seconds.  If no echo is received, due to the host being off the air, a
  2360. poor path to the host, or a packet collision, nothing is displayed.
  2361.  
  2362.      The default is to transmit a short ping packet.  The <length> argument
  2363. sets the byte-length of the transmitted ping packet.  This can be used to
  2364. determine if long packets result in frequent collisions.
  2365.  
  2366.      If the <interval> parameter is supplied, pings will be repeated
  2367. indefinitely at the specified interval.  This sets up a repetitive test, where
  2368. the remote host is queried at a time interval given by the number in the
  2369. second argument, interpreted in milliseconds.  Users should be careful not to
  2370. overdo this testing, as the ping queries will add to channel congestion.  The
  2371. results are displayed in a separate session, which can be suspended or
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.                                     - 37 -
  2382.  
  2383.  
  2384. resumed.  This session and the accompanying pings are continued until the
  2385. session is stopped by escaping back to the "net>" prompt and issuing the
  2386. "close" command.
  2387.  
  2388.      For example, the following command:
  2389.  
  2390.         ping eyolo 80 10000
  2391.  
  2392. results in the session display:
  2393.  
  2394. Resolving eyolo... Pinging eyolo (44.2.0.96); data 80 interval 10000 ms:
  2395.       sent      rcvd    %       rtt   avg rtt      mdev
  2396.          1         1  100      4947      4947         0
  2397.          2         2  100      3477      4763       368
  2398.          4         3   75      4374      4714       373
  2399.          5         4   80      3972      4621       465
  2400.  
  2401. Five packets were sent to the remote host eyolo and only packet 3 was not
  2402. received.  The column labeled "%" gives the percentage of pings received,
  2403. "rtt" gives the round-trip time for each packet, "avg rtt" is the running
  2404. average round-trip time, and "mdev" is the mean deviation of this time.
  2405.  
  2406.      The round-trip times reported by the "ping" command depend on the setting
  2407. of the "isat" mode.  If "isat" is on, times are reported to the nearest
  2408. millisecond.  If "isat" is off, times are reported in multiples of 55ms.  For
  2409. further information on the "isat" command, see section B.4.6 of Appendix B.
  2410.  
  2411. 10.4.  trace
  2412.  
  2413. The trace command is used to monitor the activity on an interface.  The syntax
  2414. of this command is:
  2415.  
  2416.         trace [<iface> [off | <btio_flags> [<tracefile>]]]
  2417.  
  2418.  
  2419.      The flags enable or disable tracing and determine the amount of
  2420. information displayed.  Without arguments, trace gives a list of all defined
  2421. interfaces and their tracing status.  When the radio interface <iface> is
  2422. specified, tracing status is given for this interface only.
  2423.  
  2424.      The Broadcast/Type/Input/Output (BTIO) flag settings specify the amount
  2425. of information produced.  The BTIO settings are expressed as a hexadecimal
  2426. number as follows:
  2427.  
  2428.         B=1:  Broadcast filter flag enabled.  Only packets specifically
  2429.               addressed to this interface will be displayed.  Broadcast
  2430.               packets will be ignored.
  2431.  
  2432.         B=0:  Broadcast filter flag disabled.
  2433.  
  2434.         T=2:  Protocol headers are decoded, and the entire packet
  2435.               (headers AND data) is also displayed in hexadecimal
  2436.               and ASCII, 16 characters per line.  Unprintable characters
  2437.               are displayed as dots.
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.                                     - 38 -
  2448.  
  2449.  
  2450.         T=1:  Protocol headers are decoded, and data (but not the
  2451.               headers themselves) are displayed as ASCII characters,
  2452.               64 characters/line.
  2453.  
  2454.         T=0:  Protocol headers are decoded, but data is not displayed.
  2455.  
  2456.         I=1:  Enable tracing of input packets.
  2457.  
  2458.         I=0:  Disable tracing of input packets.
  2459.  
  2460.         O=1:  Enable tracing of output packets.
  2461.  
  2462.         O=0:  Disable tracing of output packets.
  2463.  
  2464. By default, trace output is displayed on the screen.  If <tracefile> is given,
  2465. trace output is saved in the specified file.  The trace file is closed by
  2466. setting the BTIO flags to 0.
  2467.  
  2468.      For example, to trace the activity on interface ax0, with an ASCII
  2469. display:
  2470.  
  2471.         trace ax0 111
  2472.  
  2473. To turn off this tracing:
  2474.  
  2475.         trace ax0 000
  2476.  
  2477.  
  2478. 10.5.  status
  2479.  
  2480. The "status" command displays general information about NOS.  It is useful for
  2481. monitoring file access.  An example of the display generated by NOS:
  2482.  
  2483.         KA9Q Internet Protocol Package, v911229 (PA0GRI v2.0h)
  2484.         This version produced by Gerard van der Grinten - PA0GRI
  2485.  
  2486.         NOS load information:   Code Segment = 0caa - Data Segment = 5949
  2487.  
  2488.         The system time is Wed Mar 18 06:40:49 1992
  2489.         NOS was started on Tue Mar 17 21:28:08 1992
  2490.  
  2491.         Elapsed time => 0 days:09 hours:12 minutes:41 seconds.
  2492.  
  2493.         The station is currently Unattended.
  2494.         The 'Message Of The Day' is
  2495.         Please send email if I am not here -- thanks,  Gary
  2496.  
  2497.                          Table of Open Files.
  2498.                          --------------------
  2499.         Name           length   offset hnd acc PSP device type/owner
  2500.         ----           ------   ------ --- --- --- -----------------
  2501.         README  .TXT      536      536   1 rw 0636 drive C:    [nos.exe]
  2502.         NOS     .LOG     8757     8757   1 rw 0636 drive C:    [nos.exe]
  2503.         TMP6    .$$$     3950     2048   1 r  0636 drive C:    [nos.exe]
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.                                     - 39 -
  2514.  
  2515.  
  2516. The files listed include README.TXT, which was being displayed by a "more"
  2517. command, NOS.LOG, which is the NOS log file, discussed in section B.4.26 of
  2518. Appendix B, and TMP6.$$$, a temporary file created for a directory listing
  2519. generated by the "dir" command.
  2520.  
  2521. 10.6.  mbox status
  2522.  
  2523. Displays information about the current users of the NOS mailbox.  An example
  2524. of the display generated:
  2525.  
  2526.         User       State    S#  Where
  2527.         n6spe      CMD      145 44.2.0.100:1027
  2528.         n6cng      LOGIN    149 44.2.0.100:1028
  2529.  
  2530. This provides the callsigns of the users, the state of their activity, the
  2531. sequential session number, and the IP address and port under which their
  2532. session is conducted.  The state "CMD" means the user is at the command
  2533. prompt, and "LOGIN" means the user is in the midst of the login process.
  2534.  
  2535.  
  2536.  
  2537.  
  2538. 11.  Advanced Topics
  2539.  
  2540. While this document is intended to be a guide for beginners, there are a few
  2541. advanced topics of interest to many users that should be mentioned.  The
  2542. presentation of these topics is concise and the reader should consult the
  2543. "Network Operating System User Reference Manual," by Phil Karn and Gerard van
  2544. der Grinten, for details.
  2545.  
  2546.      Note that the commands included in the NOS configuration file,
  2547. AUTOEXEC.NOS, and described in Appendix B, can also be used interactively.
  2548. Further, these commands, when issued without their variable arguments, will
  2549. report the current values of these arguments.  For example, the "route"
  2550. command, issued without arguments, will display the current routing table.
  2551. These commands, issued with arguments, can be used to alter the configuration
  2552. of NOS while it is running.  For example, "route add," described in section
  2553. B.4.10, can be used to add entries to the routing table, possibly to
  2554. experiment with alternative routes.  To drop routes that are found to be
  2555. unreliable, the following command can be used:
  2556.  
  2557.         route drop <dest_host>
  2558.  
  2559. where <dest_host> is the IP address or host name for the destination of your
  2560. packets.  Note that if you find better routing methods with this
  2561. experimentation, you will have to edit the "route add" commands in your
  2562. AUTOEXEC.NOS file for this routing table to be in effect the next time you run
  2563. NOS.
  2564.  
  2565. 11.1.  TCP
  2566.  
  2567. The TCP command can be used to monitor and control session status at a lower
  2568. level than provided elsewhere in NOS.
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.                                     - 40 -
  2580.  
  2581.  
  2582. 11.1.1.  tcp status [<tcb_addr>]
  2583.  
  2584. Issued without the optional argument, this command displays the status table
  2585. for TCP sessions.  For example:
  2586.  
  2587. ( 1)tcpRtoAlgorithm              4     ( 2)tcpRtoMin                    0
  2588. ( 3)tcpRtoMax           4294967295     ( 4)tcpMaxConn          4294967295
  2589. ( 5)tcpActiveOpens               5     ( 6)tcpPassiveOpens              5
  2590. ( 7)tcpAttemptFails              0     ( 8)tcpEstabResets               0
  2591. ( 9)tcpCurrEstab                 2     (10)tcpInSegs                  109
  2592. (11)tcpOutSegs                 111     (12)tcpRetransSegs               5
  2593. (14)tcpInErrs                    0     (15)tcpOutRsts                   0
  2594.     &TCB Rcv-Q Snd-Q  Local socket           Remote socket          State
  2595. 750f0008     0   335  44.2.0.100:1037        44.2.0.32:smtp         Established
  2596. 758c0008     0     0  44.2.0.100:1035        44.2.0.96:ftp          Established
  2597. 74940008     0     0  0.0.0.0:smtp           0.0.0.0:0              Listen (S)
  2598. 70060008     0     0  0.0.0.0:telnet         0.0.0.0:0              Listen (S)
  2599. 749f0008     0     0  0.0.0.0:finger         0.0.0.0:0              Listen (S)
  2600. 6fdb0008     0     0  0.0.0.0:ftp            0.0.0.0:0              Listen (S)
  2601. 6ff90008     0     0  0.0.0.0:ttylink        0.0.0.0:0              Listen (S)
  2602.  
  2603.  
  2604.      The first seven lines give some TCP-level statistics, including the
  2605. number of packets received (tcpInSegs), sent (tcpOutSegs), retransmitted due
  2606. to collisions (tcpRetransSegs), current sessions (tcpCurrEstab), sessions
  2607. opened by a remote host (tcpPassiveOpens), and sessions opened by the local
  2608. host (tcpActiveOpens).  The table below gives a summary of all existing TCP
  2609. connections.  "&TCB" is the TCP address, "Rcv-Q" and "Snd-Q" are the numbers
  2610. of characters in the receiving and sending queues, "Local socket" and "Remote
  2611. socket" give the IP address and port of the local and remote host, "State"
  2612. gives the state of the session.  Note that the remote socket IP address is
  2613. given as 0.0.0.0 for the listening servers.  In this example, there is an
  2614. established outbound smtp session, assigned to port 1037 on the local host,
  2615. connected to the smtp server of the host with IP address 44.2.0.32.  335
  2616. characters are in the queue ready to be transmitted.  There is also an
  2617. established ftp session, assigned to port 1035 on the local host, connected to
  2618. the ftp server of the remote host with IP address 44.2.0.96.
  2619.  
  2620.      Issuing the command with the argument <tcb_addr>, taken from the "&TCB"
  2621. column in the table, will provide a more detailed table of information on the
  2622. specified TCP connection.  Of particular interest is the last line of the
  2623. table, which provides information about the retry timer.  This is the timer
  2624. that determines when a packet retransmission will be attempted.  It is
  2625. expressed in the form "running time/threshold time," both given in
  2626. milliseconds.  When the running time reaches the threshold, the pending packet
  2627. will be retransmitted.  If receipt of this packet is not acknowledged, the
  2628. threshold time will be increased and the running timer will be restarted.
  2629. When the channel becomes congested, the threshold time becomes very large, and
  2630. the data throughput drops substantially.  This is known as the "exponential
  2631. backoff" strategy of TCP/IP.
  2632.  
  2633.      You should display the TCP status before you exit NOS.  This will let you
  2634. know if there are any active connections.  For example, you should not exit
  2635. NOS if someone is running an FTP session with your host.  Except for the
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.                                     - 41 -
  2646.  
  2647.  
  2648. clatter of your disk drive, you would not be aware of an active FTP session
  2649. unless you check the TCP status.  If there are some active sessions, it is
  2650. best to leave NOS running so that your TCP/IP node stays on the air.  If you
  2651. think you have "stuck" sessions in which there is no active packet
  2652. transmission, see section 11.1.3 for information on resetting these sessions.
  2653.  
  2654. 11.1.2.  tcp kick <tcp_addr>
  2655.  
  2656. If there is data on the send queue of the TCP connection indicated by the
  2657. argument <tcb_addr>, taken from the table generated by the "tcp status"
  2658. command, this will force an immediate retransmission.  This can be attempted
  2659. if the connection appears to be "stuck."  This can happen if the route is
  2660. unreliable, or if there is considerable channel congestion.  This command
  2661. should be used sparingly, as it adds to channel congestion and defeats the TCP
  2662. strategies to deal with this congestion.
  2663.  
  2664. 11.1.3.  tcp reset <tcp_addr>
  2665.  
  2666. Resets the TCP connection indicated by the argument <tcp_addr>, taken from the
  2667. table generated by the "tcp status" command.  This effectively terminates the
  2668. connection.  While this command should not be used indiscriminently, there are
  2669. situations in which it is useful, primarily when a TCP connection has gotten
  2670. "stuck."  The three common situations in which a TCP connection can get stuck
  2671. are:  remote host has crashed, propagation path of the route to the remote
  2672. host has deteriorated, and there is extreme congestion on the channel.  In
  2673. each of these situations, tcp status for the corresponding TCP connection will
  2674. show an increasingly large threshold time.
  2675.  
  2676.      If you are in a telnet session or an AX.25 connection, you will find
  2677. times when the channel is so congested that you will wait nearly forever for a
  2678. response from the remote host.  If you want to give up on the session, escape
  2679. to NOS and close (or disconnect) the session.  If there is no response from
  2680. the remote host, the session can remain half open and should be reset using
  2681. the tcp reset command.
  2682.  
  2683.      Similarly, an ftp session can also become stuck.  If you are in the midst
  2684. of a file transfer (get or put operation), escape to NOS and use the "abort"
  2685. command to terminate the transfer.  Then the "quit" command will initiate a
  2686. close on the session.  If there is no response from the remote host, the half
  2687. open session should be reset using tcp reset.
  2688.  
  2689.      Another situation in which this command is appropriate for use is the
  2690. "stuck" smtp session.  As discussed in section 6.2.14, when a mail message has
  2691. begun to be sent, it is "locked."  If the route to the destination host is
  2692. unreliable, the exponential backoff strategy of TCP can cause the transfer to
  2693. be delayed almost indefinitely.  If you want to terminate the transfer, so
  2694. that you can try again at another time, or using a different route, you can
  2695. reset the corresponding TCP session.  When this is done, the associated mail
  2696. message is unlocked and can be resent, or killed from BM if you want to give
  2697. up on the message entirely.
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.                                     - 42 -
  2712.  
  2713.  
  2714.                           Appendix A.  TNC KISS Mode
  2715.  
  2716.      As explained in section 2.2, your TNC must be in KISS mode to run the NOS
  2717. program.  This appendix provides some information on how to enter the KISS
  2718. mode.
  2719.  
  2720.      For the TNC-2 and clones, using a telecommuncations program or an AX.25
  2721. packet program to communicate with the TNC, at the "cmd:" prompt, first type
  2722. "KISS ON" and you will receive the message "KISS WAS OFF" and another "cmd:"
  2723. prompt.  Type "RESTART" and you should note that the CON and STA LEDs will
  2724. flash three times to indicate you have entered the KISS mode.  This command
  2725. set will then have effect for subsequent power on/off cycles.  To return to
  2726. normal operation, enter the command "param ax0 255" at the "net>" prompt when
  2727. you are running the KA9Q TCP/IP software package.
  2728.  
  2729.      For Kantronics TNCs, again using a telecommunications program or an AX.25
  2730. packet program to communicate with the TNC, type "KISSMODE ON" while in
  2731. command mode, followed by "RESET," to put the TNC in KISS mode.  Turning the
  2732. TNC off and then on will cause the TNC to return to command mode.  If you
  2733. first turn KISSMODE ON and then PERM the value in EEPROM, when the TNC is
  2734. turned on, it will automatically be in KISS mode.
  2735.  
  2736.      To put the AEA PK232 into KISS mode, the following commands should be
  2737. sent to the TNC using a telecommunications program:
  2738.  
  2739.         START 0
  2740.         STOP 0
  2741.         XON 0
  2742.         XOFF 0
  2743.         XFLOW OFF
  2744.         CONMODE TRANS
  2745.         HPOLL OFF
  2746.         KISS ON
  2747.         RAWHDLC ON
  2748.         PPERSIST ON
  2749.         HOST ON
  2750.  
  2751.  
  2752.      You can also put your TNC in KISS mode using the NOS command "comm" to
  2753. send straight text to a TNC still in native command mode during NOS startup.
  2754. The syntax for "comm" is:
  2755.  
  2756.         comm ax0 "<string>"
  2757.  
  2758. "comm" sends a text-string via <interface>.  Note that the string is enclosed
  2759. by double quote characters to preserve spaces, tabs etc.  For example, for the
  2760. TNC2, you would send the two commands:
  2761.  
  2762.         comm ax0 "KISS ON"
  2763.         comm ax0 "RESTART"
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.                                     - 43 -
  2778.  
  2779.  
  2780.                    Appendix B.  Installation of NOS and BM
  2781.  
  2782.      As with most software, some effort is needed to get NOS and BM installed
  2783. and properly configured on your system.  This requires setting up the proper
  2784. directory structure and editing some configuration files.  While there are a
  2785. number of details to attend to, none of this is very difficult.
  2786.  
  2787.      The configuration files discussed below must be edited with a text
  2788. editor.  Any editor will do, as long as it writes ASCII (simple text) files.
  2789. A word processing program will work as well, as long as you have it write an
  2790. ASCII output file.
  2791.  
  2792. B.1.  Installation Overview
  2793.  
  2794.      It will be assumed that you have received a disk (or disks) containing at
  2795. least the files NOS.EXE and BM.EXE.  You may also have the files AUTOEXEC.NOS,
  2796. DOMAIN.TXT, FTPUSERS, and ALIAS, although if these were not included on your
  2797. distribution, don't worry, as you will be able to create them with an editor.
  2798.  
  2799.      NOS can be installed in any directory, but for this example, I will
  2800. assume that it will be installed in \nos, to be referred to as the NOS
  2801. directory, preferably on your C:\ hard disk drive, or otherwise on your A:\
  2802. floppy disk drive.  lf you choose to install NOS in another directory, just
  2803. replace \nos with the chosen directory in the directions below.  The steps
  2804. required for this installation are the following:
  2805.       1.Create the directory structure described in section B.2.
  2806.       2.Copy NOS.EXE and BM.EXE to the NOS directory.
  2807.       3.Edit your AUTOEXEC.BAT file in the root directory to include the NOS
  2808.         directory in the path and to add the environment variables, as
  2809.         described in section B.3.
  2810.       4.Create the file AUTOEXEC.NOS in the NOS directory and edit as
  2811.         described in section B.4.
  2812.       5.Create the file DOMAIN.TXT in the NOS directory and edit as described
  2813.         in section B.5.
  2814.       6.Create the file BM.RC in the NOS directory and edit as described in
  2815.         section B.6.
  2816.       7.Create the ALIAS file in the root directory and edit as described in
  2817.         section B.7.
  2818.       8.Create the FTPUSERS file in the NOS directory and edit as described in
  2819.         section B.8.
  2820.       9.Create the finger file(s) in the directory \nos\finger and edit as
  2821.         described in section B.9.
  2822.      10.Create the file AREAS in the directory \nos\spool as described in
  2823.         section B.10.
  2824.      11.Copy or create the mailbox help files in the directory \nos\spool\help
  2825.         as described in section B.11.
  2826.  
  2827.      Note that the NOS.EXE executable is generally provided in a self-
  2828. extracting compressed form.  It has been compressed to save disk space and
  2829. transfer time.  When you execute the program, it is automatically uncompressed
  2830. and thus occupies much more memory space than disk space.
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.                                     - 44 -
  2844.  
  2845.  
  2846. B.2.  File Structure
  2847.  
  2848.      Most of the required files will be kept in the NOS directory, but several
  2849. other directories must also be set up.
  2850.  
  2851. \nos\spool        The NOS log file (described in section B.3.26) is normally
  2852.                   stored in this directory.  The mail log file, MAIL.LOG is
  2853.                   created in this directory by smtp and the mailbox AREAS file
  2854.                   resides in this directory.
  2855.  
  2856. \nos\spool\mail   This directory holds the individual mailboxes for each user
  2857.                   name on your system.  The extension .txt is added to the
  2858.                   user name to form the mailbox name.  Mail received by the
  2859.                   SMTP server is appended to the mailbox file.
  2860.  
  2861. \nos\spool\mqueue The directory holds the outbound mail jobs.  Each job
  2862.                   consists of 2 files:  an xxx.txt and xxx.wrk file, where xxx
  2863.                   is a unique numerical prefix.  When the job is being sent,
  2864.                   an xxx.lck file is also created.  The file sequence.seq is
  2865.                   used to keep track of the last message number.  The mail
  2866.                   transport protocol, SMTP, and the mail program, BM, manage
  2867.                   the files in this directory.
  2868.  
  2869. \public           This directory and its sub-directories are normally set up
  2870.                   to hold the files available for anonymous ftp, described in
  2871.                   section B.8.
  2872.  
  2873. \nos\finger       This directory holds the finger files, described in sections
  2874.                   10.2 and B.9.
  2875.  
  2876. \nos\spool\help   This directory holds the mailbox help files, described in
  2877.                   section B.11.
  2878.  
  2879.      The files that reside in the NOS directory include:
  2880.  
  2881.         NOS.EXE
  2882.         BM.EXE
  2883.         AUTOEXEC.NOS
  2884.         HOSTS.NOS
  2885.         BM.RC
  2886.         ALIAS
  2887.         FTPUSERS
  2888.  
  2889.  
  2890. B.3.  DOS Environment -- AUTOEXEC.BAT
  2891.  
  2892. To set up the DOS environment to run NOS, you will need to make some additions
  2893. to your AUTOEXEC.BAT file.  First, the NOS directory must be included in the
  2894. PATH command.  Consult your DOS manual for information on the PATH command.
  2895. Second, several environment variables must be set, as described below.
  2896.  
  2897. B.3.1.  TZ
  2898.  
  2899. TZ is the time zone, used in mail headers.  An example TZ setting is:
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.                                     - 45 -
  2910.  
  2911.  
  2912.         set TZ=PST8
  2913.  
  2914. The first 3 characters are the time zone (PST, the Pacific Standard Time, in
  2915. the example above) and the fourth character is the number of hours from
  2916. Universal Coordinated Time (UTC).  If TZ is not set, UTC is assumed.
  2917.  
  2918. B.3.2.  BMRC
  2919.  
  2920. BMRC specifies the directory where the BM startup file, BM.RC, is located.
  2921. This is usually the NOS directory.  For example:
  2922.  
  2923.         set BMRC=C:\NOS
  2924.  
  2925. If BMRC is not set, BM attempts to find BM.RC in the root directory.
  2926.  
  2927. B.3.3  TMP
  2928.  
  2929. TMP specifies the directory where temporary files are created.  For example:
  2930.  
  2931.         set TMP=C:\TMP
  2932.  
  2933. If TMP is not set, the temporary files are created in the root directory.
  2934.  
  2935. B.4.  NOS Configuration File -- AUTOEXEC.NOS
  2936.  
  2937. The AUTOEXEC.NOS file, created in the NOS directory, has a function similar to
  2938. that of the AUTOEXEC.BAT file in DOS, hence the name.  When NOS is executed,
  2939. it reads AUTOEXEC.NOS and executes all of the commands as if they had been
  2940. typed in to the program from the keyboard.  This provides an easy mechanism
  2941. for setting up the initial system configuration, including setting the
  2942. callsign, IP address, hostname, AX.25 parameters, routing table, servers to
  2943. start, and protocol variables.
  2944.  
  2945.      An example AUTOEXEC.NOS file is often distributed with the NOS software.
  2946. This file is fully commented and explains how the example file should be
  2947. edited for your use.  If this file is not available, use a text editor to
  2948. create the file, following the instructions given in the subsections below.
  2949. It is suggested that you put the commands into AUTOEXEC.NOS in the order given
  2950. below.
  2951.  
  2952. B.4.1.  #
  2953.  
  2954. Commands starting with the hash mark (#) are ignored.  This is mainly useful
  2955. for comments in the AUTOEXEC.NOS file.  The comments can appear anywhere in
  2956. the file.
  2957.  
  2958. B.4.2.  hostname <host_name>
  2959.  
  2960. Sets the local host's name (an ASCII string, NOT an IP address).  This is
  2961. usually chosen to be <call>.ampr.org, where <call> is your amateur call sign.
  2962. The suffix "ampr.org" is officially recognized as meaning an "AMateur Packet
  2963. Radio" station.  Note that in some areas, only <call> is used as the hostname.
  2964. Your hostname will show up in mail headers and in the greeting messages from
  2965. the SMTP (mail), FTP (file transfer), and AX.25 mailbox servers.  For example:
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975.                                     - 46 -
  2976.  
  2977.  
  2978.         hostname n6gf.ampr.org
  2979.  
  2980.  
  2981. B.4.3  ax25 mycall <callsign>[-<value>]
  2982.  
  2983. Set the local AX.25 address.  It does the same thing that "MYCALL" does in
  2984. your AX.25 TNC.  The standard format is used, e.g., KA9Q or WB6RQN-5.  The
  2985. optional dash (-) and <value> following the callsign is the SSID (substation
  2986. ID), used when it is necessary to distinguish between two or more packet
  2987. stations with the same callsign.  The SSID will be 0 unless explicitly set to
  2988. another value, which must be a integer number from 0 to 15.  This command must
  2989. be given before any attach command using the AX.25 mode is given.  For
  2990. example:
  2991.  
  2992.         ax25 mycall n6gf
  2993.  
  2994.  
  2995. B.4.4  ip address <ip_addr>
  2996.  
  2997. Sets the local IP address.  See section 2.4 for information on acquiring an IP
  2998. address.  For example:
  2999.  
  3000.         ip address [44.2.0.100]
  3001.  
  3002.  
  3003. B.4.5.  attach
  3004.  
  3005. The attach command configures and attaches a hardware interface to the system.
  3006. While many interfaces can be handled by NOS, in this guide, only a single
  3007. serial interface to a TNC running the KISS protocol will be considered.  The
  3008. general form of the command for our purposes is:
  3009.  
  3010.         attach asy <I/O address> <vector> ax25 <iface> <bufsize> <mtu> <baud>
  3011.  
  3012.  
  3013.      "asy" refers to a standard PC asynchronous interface.  Other hardware
  3014.      interfaces are supported by NOS, but will not be covered in this guide.
  3015.  
  3016.      <I/O address> is the base address of the control registers for the serial
  3017.      interface.
  3018.  
  3019.      <vector> is the interrupt vector number.  Both the I/O address and the
  3020.      vector must be in hexadecimal.  (You may put "0x" in front of these two
  3021.      values if you wish, but note that they will be interpreted in hex even if
  3022.      you don't use it).
  3023.  
  3024.      "ax25" forms IP datagrams to correspond to the AX.25 packet protocol.
  3025.      Other modes are supported by NOS, but will not be covered in this guide.
  3026.  
  3027.      <iface> is the name by which the interface will be known to the various
  3028.      commands, such as "connect," "route" and "trace".  You may choose any
  3029.      name you wish for each interface, although it is common to choose "ax0,"
  3030.      "ax1," etc.
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.                                     - 47 -
  3042.  
  3043.  
  3044.      <bufsize> specifies the size of the ring buffer in bytes to be statically
  3045.      allocated to the receiver in an asynchronous port; incoming bursts larger
  3046.      than this may (but not necessarily) cause data to be lost.  The suggested
  3047.      value is 1024.
  3048.  
  3049.      <mtu> is the maximum transmission unit size, in bytes.  Datagrams larger
  3050.      than this limit will be fragmented at the IP layer into smaller pieces.
  3051.      The suggested value is 256.
  3052.  
  3053.      <baud> is the baud rate of the serial communication between the computer
  3054.      and the TNC.  It must be chosen to be the same value as the baud rate
  3055.      selected on the TNC, as discussed in section 2.3.  The suggested value is
  3056.      4800 for an XT, and 9600 for an AT.
  3057.  
  3058. Example 1 -- Attach the PC serial card normally known as "com1" (the first
  3059. controller) to operate in AX.25 mode at 4800 baud with a KISS TNC:
  3060.  
  3061.         attach asy 0x3f8 4 ax25 ax0 1024 256 4800
  3062.  
  3063.  
  3064. Example 2 -- Attach the secondary PC serial card ("com2") to operate in AX.25
  3065. mode at 4800 baud with a KISS TNC:
  3066.  
  3067.         attach asy 0x2f8 3 ax25 ax0 1024 256 4800
  3068.  
  3069.  
  3070. B.4.6.  isat [on | off]
  3071.  
  3072. Sets the AT clock flag.  For a PC/AT, 386, or 486 machine, "isat" should be
  3073. set to "on."  For an original PC or PC/XT (8086 or 8088 machines), "isat"
  3074. should be set to "off." For example:
  3075.  
  3076.         isat on
  3077.  
  3078.  
  3079. B.4.7   multitask [on | off]
  3080.  
  3081. Set NOS multitasking.  When set to "on", NOS continues to run when the user
  3082. has issued the shell (!) or "mail" command.  This enables NOS to process
  3083. packets and begin sessions even while the user is at the DOS prompt or in BM
  3084. (or another mail program).
  3085.  
  3086.      The disadvantage to multitasking is increased memory usage, since memory
  3087. cannot be allocated by NOS due to the presence of the other program.  Thus
  3088. most versions of NOS grab some memory before actually shelling out and this
  3089. remains on the heap after NOS is re- entered.  Consequently the amount of core
  3090. memory available drops significantly the first time a shell is used.
  3091.  
  3092.      When set to "off", all NOS sessions are suspended when the user has
  3093. issued the shell (!) or "mail" command.  The sessions are restarted when the
  3094. user exits from the DOS subshell, or quits the mail program.
  3095.  
  3096.      For example:
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.                                     - 48 -
  3108.  
  3109.  
  3110.         multitask on
  3111.  
  3112.  
  3113. B.4.8.  ip ttl <value>
  3114.  
  3115.      Sets the default time-to-live value placed in each outgoing IP datagram.
  3116. This limits the number of switch hops the datagram will be allowed to take.
  3117. The idea is to bound the lifetime of the packet should it become caught in a
  3118. routing loop, so the value should be somewhat larger than the diameter of the
  3119. loop.  A suggested value is 16.  For example:
  3120.  
  3121.         ip ttl 16
  3122.  
  3123.  
  3124. B.4.9.  param ax0 <value1> <value2>
  3125.  
  3126.      Param invokes a device-specific control routine.  On a KISS TNC
  3127. interface, this sends control packets to the TNC.  Data values are treated as
  3128. decimal.  This command is used to change TNC parameters such as TXDELAY,
  3129. TXTAIL, PERSIST, and SLOTTIME.  This command is TNC-specific, so you must read
  3130. the documentation for the KISS implementation for your TNC.  Most KISS
  3131. implementations include good default values, so you shouldn't have to use this
  3132. feature, but if things don't work, you can use the "param"  command to try
  3133. tweaking the TNC.
  3134.  
  3135.      On a TNC-2, <value1>=1 will set TXDELAY (the time after key down when
  3136. packet information is transmitted) to <value2> times 0.01 seconds.  To set
  3137. TXDELAY to 0.5 seconds:
  3138.  
  3139.         param ax0 1 50
  3140.  
  3141.  
  3142.      On Kantronics TNCs, <value1>=1 sets TXDELAY to <value2> times 0.01
  3143. seconds, as with the TNC-2.  For <value1>=2, PERSIST is set to <value2>.  For
  3144. <value1>=3, SLOTTIME is set to <value2> X 0.01 seconds.  The default values
  3145. for these parameters are generally acceptable, so it is usually not necessary
  3146. to include these commands in AUTOEXEC.NOS.
  3147.  
  3148.      To properly set up the serial interface to your TNC, you need to include
  3149. the following commands, which set RTS (ready to send) and DTR (data terminal
  3150. ready):
  3151.  
  3152.         param ax0 rts 1
  3153.         param ax0 dtr 1
  3154.  
  3155.  
  3156. B.4.10.  route add
  3157.  
  3158.      The "route add" command adds an entry to the routing table, defining how
  3159. your outgoing packets should be routed.  Routing can be a complicated issue,
  3160. so it would be best for you to get some help on this from an experienced local
  3161. TCP/IP user.
  3162.  
  3163.      The command syntax is:
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.                                     - 49 -
  3174.  
  3175.  
  3176.  
  3177.         route add <dest_host>[/bits]|default ax0 [<gateway_host>]
  3178.  
  3179.  
  3180.      Your objective is to route your packets directly to those hosts that you
  3181. can "hear" and route your packets to the remaining hosts through hosts that
  3182. can serve as gateways (similar to AX.25 digipeaters).  The destination host
  3183. for your packets is <dest_host>, which is either an IP address or a host name,
  3184. as defined in the file DOMAIN.TXT, described in section B.4.  The gateway is
  3185. <gateway_host>, also an IP address or host name.  Note that it is not
  3186. necessary to specify the entire sequence of hosts from your system to the
  3187. destination, but rather only the destination and the first stop on the way.
  3188. If the routing table on the other hosts has been set up properly, your packets
  3189. will get to the desired destination.  Thus, everyone has to cooperate to keep
  3190. packets moving.
  3191.  
  3192.      In my area, N6RQR is over 40 miles away, but he is up in the foothills
  3193. above me and has a good station, so I can communicate with him directly.  His
  3194. IP address is [44.2.0.54], so I route packets directly to him with the
  3195. statement:
  3196.  
  3197.         route add [44.2.0.54] ax0
  3198.  
  3199.  
  3200.      The option "/bits" can be used to avoid having to include a route add
  3201. statement for each and every host you can communicate with directly.  To
  3202. understand this, more details on IP addresses are needed.  The IP address is a
  3203. 32-bit number, with four 8-bit numbers separated with periods (.).  Each 8-bit
  3204. number can range from 0 to 255.  The optional "/bits" suffix to the
  3205. destination host id specifies how many leading bits in the host IP address are
  3206. to be considered significant in the routing comparisons.  If not specified, 32
  3207. bits (i.e., full significance) is assumed.  With this option, a single routing
  3208. table entry may refer to many hosts all sharing a common bit string prefix in
  3209. their IP addresses.  For example, [44.0.0.0]/8 would match all addresses in
  3210. the form [44.*.*.*], where "*" is any number between 0 and 255; the remaining
  3211. 24 bits are "don't-cares".  When an IP address to be routed matches more than
  3212. one entry in the routing table, the entry with largest "bits" parameter (i.e.,
  3213. the "best" match) is used.  This allows individual hosts or blocks of hosts to
  3214. be exceptions to a more general rule for a larger block of hosts.
  3215.  
  3216.      The "/bits" option can be used to route packets directly to all the hams
  3217. on TCP/IP in my town.  We have been assigned IP addresses in the range
  3218. [44.2.0.96] to [44.2.0.111], so our addresses agree in the first 24 bits.
  3219. Further, 96 decimal is 01100000 binary and 111 decimal is 01101111 binary.
  3220. Thus, our addresses agree in an additional 4 bits, for a total of 28 bits.
  3221. The command used is:
  3222.  
  3223.         route add [44.2.0.96]/28 ax0
  3224.  
  3225.  
  3226.      Hams in a neighboring region have been assigned IP addresses of the form
  3227. [44.4.*.*].  N6RQR can forward packets to them, so we use him as a gateway
  3228. with the command:
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.                                     - 50 -
  3240.  
  3241.  
  3242.  
  3243.         route add [44.4.0.0]/16 ax0 n6rqr
  3244.  
  3245.  
  3246.      The special destination "default" is used to route datagrams to addresses
  3247. not in the routing table; it is equivalent to specifying a /bits suffix of /0
  3248. to any destination host.  Care must be taken with default entries since two
  3249. nodes with default entries pointing at each other will route packets to
  3250. unknown addresses back and forth in a loop until their time-to-live value is
  3251. exceeded (see "ip ttl" above). (Routing loops for specific addresses can also
  3252. be created, but this is less likely to occur accidentally).
  3253.  
  3254.      In my area, we route packets to all other destinations through our local
  3255. switch, which has the host name "eyolo."  The command used is:
  3256.  
  3257.         route add default ax0 eyolo
  3258.  
  3259.  
  3260. B.4.11.  smtp timer <value>
  3261.  
  3262.      Sets the interval to <value>, in seconds, between scans of the outbound
  3263. mail queue to determine if there is any new outgoing mail which should be
  3264. sent.  For example, "smtp timer 600" will cause the system to check for
  3265. outgoing mail every 10 minutes and attempt to deliver anything it finds.  For
  3266. an end-user system that is not normally intended as a mail forwarder, you do
  3267. not want to set the interval to be too short, as you will be frequently
  3268. accessing disk needlessly.  An interval of 30 minutes (<value>=1800) is
  3269. probably reasonable.  You can also "kick" out the mail manually, as described
  3270. in section 6.5.1.  The suggested command is:
  3271.  
  3272.         smtp timer 1800
  3273.  
  3274.  
  3275. B.4.12.  smtp gateway <host>
  3276.  
  3277.      Defines the host to be used as a "smart" mail relay.  Any mail sent to a
  3278. host not defined in the file "DOMAIN.TXT" will instead be sent to the gateway
  3279. for forwarding.  You will have to ask locally if there is a host that is used
  3280. as a mail gateway.  If so, include this command in AUTOEXEC.NOS.
  3281.  
  3282. B.4.13.  tcp mss <value>
  3283.  
  3284.      Set the TCP maximum segment size in bytes that will be sent on all
  3285. outgoing TCP connect requests (SYN segments).  This tells the remote end the
  3286. size of the largest segment (packet) it may send.  An mss of 216 will force
  3287. folks to send you packets of 256 characters or less (counting the overhead).
  3288. Suggested command:
  3289.  
  3290.         tcp mss 216
  3291.  
  3292.  
  3293. B.4.14.  tcp window <value>
  3294.  
  3295.      Sets the window parameter, which establishes the maximum number of bytes
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.                                     - 51 -
  3306.  
  3307.  
  3308. that may be outstanding before your system expects an ack.  If the window is
  3309. twice as big as mss, for example, there will be two active packets on the
  3310. channel at any given time.  Large values of window are a problem on the air.
  3311. Keep mss <= window <= 2*mss.  Suggested command:
  3312.  
  3313.         tcp window 432
  3314.  
  3315.  
  3316. B.4.15.  start <server>
  3317.  
  3318.      Starts the specified Internet server, allowing remote connection
  3319. requests.  Suggested commands:
  3320.  
  3321.         start ftp
  3322.         start telnet
  3323.         start ttylink
  3324.         start smtp
  3325.         start finger
  3326.         start ax25
  3327.  
  3328.  
  3329. B.4.16.  ax25 digipeat [on|off]
  3330.  
  3331.      Controls whether AX.25 packets addressed to this station as a digipeater
  3332. will be repeated or not.  If you want to operate as a digipeater (for those
  3333. poor souls not operating TCP/IP), include the following command:
  3334.  
  3335.         ax25 digipeat on
  3336.  
  3337.  
  3338. B.4.17.  ax25 filter <value>
  3339.  
  3340. Controls whether the list of call signs heard is logged or not.  <value> is
  3341. chosen from:
  3342.  
  3343.         0:  Log source and destination stations
  3344.         1:  Log destination stations only
  3345.         2:  Log source stations only
  3346.         3:  Disable all logging
  3347.  
  3348. In this guide, only source station log displays have been covered, so the
  3349. suggested command is:
  3350.  
  3351.         ax25 filter 2
  3352.  
  3353.  
  3354. B.4.18.  ax25 maxframe <value>
  3355.  
  3356.      Establishes the maximum number of frames that will be allowed to remain
  3357. unacknowledged at one time on AX.25 connections.  This number cannot be
  3358. greater than 7.  Suggested command:
  3359.  
  3360.         ax25 maxframe 1
  3361.  
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367.  
  3368.  
  3369.  
  3370.  
  3371.                                     - 52 -
  3372.  
  3373.  
  3374. B.4.18.  ax25 paclen <value>
  3375.  
  3376.      Limits the AX.25 packet length.  This parameter should be less than or
  3377. equal to the <mtu> defined in the attach command.  Suggested command:
  3378.  
  3379.         ax25 paclen 256
  3380.  
  3381.  
  3382. B.4.20.  ax25 retry <value>
  3383.  
  3384.      Limits the number of successive unsuccessful retransmission attempts on
  3385. AX.25 connections.  If this limit is exceeded, link re-establishment is
  3386. attempted.  If this fails "retry" times, then the connection is abandoned and
  3387. all queued data is deleted.  Suggested command:
  3388.  
  3389.         ax25 retry 10
  3390.  
  3391.  
  3392. B.4.21.  ax25 window <value>
  3393.  
  3394.      Sets the number of bytes that can be pending on an AX.25 receive queue.
  3395. Suggested command:
  3396.  
  3397.         ax25 window 2048
  3398.  
  3399.  
  3400. B.4.22.  attended [on | off]
  3401.  
  3402. This tells the host initiating the chat session if your system is attended or
  3403. not.  The default is "attend on" so if you do not regularly attend your
  3404. system, you should use the command:
  3405.  
  3406.         attended off
  3407.  
  3408.  
  3409. B.4.23  motd <string>
  3410.  
  3411. Sets the "message of the day," which is sent when another stations initiates a
  3412. keyboard chat (ttylink) session with you.  For example:
  3413.  
  3414.         motd "If station is unattended, please leave a mail message"
  3415.  
  3416.  
  3417. B.4.24.  mbox attended [on | off]
  3418.  
  3419. This tells a users logging into the mailbox if your system is attended or not.
  3420. Keyboard chat sessions are accepted if this flag is on.  If you do not
  3421. regularly attend your system, you should use the command:
  3422.  
  3423.         mbox attended off
  3424.  
  3425.  
  3426.  
  3427.  
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436.  
  3437.                                     - 53 -
  3438.  
  3439.  
  3440. B.4.25.  mbox motd <string>
  3441.  
  3442. Sets the mailbox "message of the day," which is sent when a user logs into
  3443. your mailbox.  For example:
  3444.  
  3445.         mbox motd "Type 'H<cr>' for help, 'I<cr>' for information"
  3446.  
  3447.  
  3448. B.4.26.  mbox expert <on | off>
  3449.  
  3450. Sets the prompt displayed in the mailbox.  When on, the full prompt shown in
  3451. Section 8.2 will be displayed.  When off, the prompt will be reduced to simply
  3452. ">."
  3453.  
  3454. B.4.27.  log <file>
  3455.  
  3456. Defines the name of the file for NOS log entries.  Don't include this command
  3457. if you don't want to keep a log.  The suggested command is:
  3458.  
  3459.         log \nos\spool\nos.log
  3460.  
  3461. You should read this file occasionally and then discard it, as it can grow to
  3462. be quite large.
  3463.  
  3464. B.4.28  popmail addserver <host> [<seconds>] <protocol> <mailbox> <username>
  3465. <password>
  3466.  
  3467. If you receive your mail through a local switch, you need to contact the
  3468. administrator of that system to see if "pop" (post office protocol) is used to
  3469. deliver the mail.  If so, you need to include the popmail addserver, kick, and
  3470. quiet commands in your AUTOEXEC.NOS file.
  3471.  
  3472.      The "popmail addserver" command defines parameters for receiving mail
  3473. from a POP server.  <host> is the name of the host providing POP service;
  3474. <seconds> is the interval in seconds between interrogations of the pop server
  3475. to see if you have mail waiting, which is typically set to 30 minutes (1800
  3476. seconds); <protocol> is either POP2 or POP3, depending on the service the host
  3477. is providing; <mailbox> is the name assigned to your mailbox on the pop host
  3478. (usually your callsign); and <username> and <password> are the username and
  3479. password assigned by the administrator of the pop server, which are often both
  3480. set to your callsign.
  3481.  
  3482.      For example, N6GF receives pop mail from the host "eyolo.ampr.org" and
  3483. includes the following command in his AUTOEXEC.NOS file:
  3484.  
  3485.         popmail addserver eyolo.ampr.org 1800 POP3 n6gf n6gf n6gf
  3486.  
  3487. If you regularly receive your mail from a pop server, then the mail address
  3488. you should give to your correspondents is <user>@<host>, where <user> is your
  3489. mail username (usually your callsign) and <host> is the name of the pop
  3490. server.  This address should be used in the "reply to" field in the BM.RC
  3491. file, described in section B.6 of this appendix.
  3492.  
  3493.  
  3494.  
  3495.  
  3496.  
  3497.  
  3498.  
  3499.  
  3500.  
  3501.  
  3502.  
  3503.                 f                    - 54 -
  3504.  
  3505.  
  3506. B.4.29.  popmail kick <host>
  3507.  
  3508. Starts a pop session with the specified host to retrieve mail.
  3509.  
  3510. B.4.30.  popmail quiet <yes | no>
  3511.  
  3512. Set the popmail quiet flag.  This flag determines whether you are notified of
  3513. new mail arriving via pop.
  3514.  
  3515. B.4.31.  remote <host> kick
  3516.  
  3517. If you receive mail from a local switch that is not running a pop server, then
  3518. you need to include the "remote" command in your AUTOEXEC.NOS file to "kick"
  3519. any pending mail deliveries.  <host> is the hostname of the switch which is
  3520. forwarding your mail.
  3521.  
  3522.      If you regularly receive your mail from a switch not running a pop
  3523. server, then the mail address you should give to your correspondents is
  3524. <user>%<local_host>@<remote_host>, where <user> is your mail username (usually
  3525. your callsign), <local_host> is the name of your host, and <remote_host> is
  3526. the name of the switch which forwards your mail.  This address should be used
  3527. in the "reply to" field in the BM.RC file, described in section B.e6 of this
  3528. appendix.
  3529.  
  3530. B.5.  The Host Table -- DOMAIN.TXT
  3531.  
  3532. The file DOMAIN.TXT, residing in the NOS directory, provides a mapping between
  3533. an IP addresses and symbolic hostnames.  It is used by NOS to look up a
  3534. hostname to figure out the correct IP address to use.  These hostnames may be
  3535. used in establishing a TCP/IP connection, e.g. it is not necessary to enter
  3536. "telnet [44.2.0.98]", but merely "telnet n6spe".
  3537.  
  3538.      Each entry takes one line, and the fields are separated by tabs.  For
  3539. example:
  3540.  
  3541.         eyolo.ampr.org.       IN      A       44.2.0.96
  3542.  
  3543. "IN" is the class of the record.  It means Internet, and is included in all
  3544. enties.  "A" is the type of the record, and it means that this is an address
  3545. record.  Domain name eyolo.ampr.org therefore has Internet address 44.2.0.96.
  3546.  
  3547.      Another possible entry is the "CNAME" (Canonical Name) record.  For
  3548. example:
  3549.  
  3550.         pc.n6spe.ampr.org.          IN      CNAME   eyolo.ampr.org.
  3551.  
  3552. This says that domain name "a.n6spe.ampr.org" is actually an alias for the
  3553. system with (primary, or canonical ) domain name "eyolo.ampr.org." When a
  3554. domain name having a CNAME record is given to NOS, the system automatically
  3555. follows the reference to the canonical name and returns the IP address
  3556. associated with that entry.
  3557.  
  3558.      DOMAIN.TXT is a plain text file and it may be easily edited by the user
  3559. to add, change or delete records.  If there is an established group of TCP/IP
  3560.  
  3561.  
  3562.  
  3563.  
  3564.  
  3565.  
  3566.  
  3567.  
  3568.  
  3569.                                     - 55 -
  3570.  
  3571.  
  3572. users in your area, they probably maintain an up-to-date DOMAIN.TXT table that
  3573. is made available by an ftp file transfer.
  3574.  
  3575. B.6.  Mail Configuration File -- BM.RC
  3576.  
  3577.      The BM.RC file, created in directory indicated by the BMRC environment
  3578. variable, provides BM with the configuration needed for the operation of the
  3579. mailer.
  3580.  
  3581.      The format for each line in the BM.RC file is:
  3582.  
  3583.         <variable> <value>
  3584.  
  3585. The variables described below are valid in the BM.RC file.
  3586.  
  3587. B.6.1.  host <host_name>
  3588.  
  3589.      Sets the local hostname for use in the mail headers.  This is a required
  3590. field.  This should match the hostname definition in AUTOEXEC.NOS.
  3591.  
  3592. B.6.2.  user <username>
  3593.  
  3594.      Defines the user name of the person who is sending mail.  This is also
  3595. used as the default mailbox for reading mail.  On the AMPRNET this is usually
  3596. set to your call.  There is a DOS limit of 8 characters for the user name.
  3597.  
  3598. B.6.3.  edit <directory>\<editor>
  3599.  
  3600.      Defines the name of the text editor you wish to use to compose and edit
  3601. the text of outgoing messages.  <editor> is the name of the editor and
  3602. <directory> is the name of the directory where it is stored on the host
  3603. computer.  The use of edit is optional.
  3604.  
  3605. B.6.4.  fullname <your full name>
  3606.  
  3607.      Provides your full name to the mailer for use in the comment portion of
  3608. the "From:" header line.  The use of fullname is optional.
  3609.  
  3610. B.6.5.  reply <return address>
  3611.  
  3612.      Defines the address where you wish to receive replies to messages sent.
  3613. This option is useful if you are operating your pc on a local area network and
  3614. would like your mail replies sent to a more "well known host," for example,
  3615. your local switch.  The address specified by reply is used to generate a
  3616. "Reply-To:" header in outbound mail.  The "Reply-To:" header overrides the
  3617. "From:" header which is the address normally used to reply to mail.  This
  3618. field is optional.
  3619.  
  3620. B.6.6.  mbox <file>
  3621.  
  3622.      Specifies the default file to be used for the "save" command, for saving
  3623. received messages.  This file is in the same format as a mailbox and may later
  3624. be viewed using the -f option of BM.  If this option is not used then the
  3625. default file name is set to mbox.  The full pathname of the file must be
  3626.  
  3627.  
  3628.  
  3629.  
  3630.  
  3631.  
  3632.  
  3633.  
  3634.  
  3635.                                     - 56 -
  3636.  
  3637.  
  3638. given, or the file will be created in the root directory.
  3639.  
  3640. B.6.7.  record <file>
  3641.  
  3642.      If defined, a copy of each message sent will be saved in <file>.
  3643.  
  3644. B.6.8.  folder <directory>
  3645.  
  3646.      If defined folder contains the directory used by the save command.  If
  3647. not defined, files will be saved in the current directory.
  3648.  
  3649. B.6.9.  smtp <directory>
  3650.  
  3651. Defines the directory containing the mailbox files.  The default directory is
  3652. \spool\mail on the current drive.
  3653.  
  3654. B.6.10.  mqueue <directory>
  3655.  
  3656. Defines the directory containing the outgoing mail files.  The default
  3657. directory is \spool\mqueue on the current drive.
  3658.  
  3659. B.6.11.  Example BM.RC File
  3660.  
  3661. Here is an example of a BM.RC file:
  3662.  
  3663.         host n6gf.ampr.org
  3664.         user n6gf
  3665.         reply n6gf%n6gf@eyolo
  3666.         edit c:\bin\vi
  3667.         fullname Gary Ford
  3668.         mbox /ford/mail/mbox
  3669.         folder /ford/mail
  3670.         smtp /nos/spool/mail
  3671.         mqueue /nos/spool/mqueue
  3672.  
  3673.  
  3674. B.7.  The Alias File -- ALIAS
  3675.  
  3676.      The ALIAS file provides an easy way  to maintain mailing lists. The ALIAS
  3677. file must be located in the root directory for access from BM, in the NOS
  3678. directory for access from the mailbox and in both locations for access from
  3679. both BM and the mailbox.  It allows you to send mail to an easily-remembered
  3680. name, instead of a complicated address.  An alias can be any string of
  3681. characters not containing the "@" symbol.  The format for an entry in the
  3682. alias file is:
  3683.  
  3684.         <alias> <recip1> <recip2> <recip3>
  3685.         <TAB> <recip4> ...
  3686.  
  3687. where <alias> is the name you have given to this mailing list, which you will
  3688. use as a mail address and <recipN> mail address.  Note that a long list of
  3689. aliases can be continued on an additional line by placing a tab or space in
  3690. the first position of the continuation line.  A "#" as the first character on
  3691. a line indicates a comment.
  3692.  
  3693.  
  3694.  
  3695.  
  3696.  
  3697.  
  3698.  
  3699.  
  3700.  
  3701.                                     - 57 -
  3702.  
  3703.  
  3704.      Some example aliases are:
  3705.  
  3706.         spe n6spe%n6spe@eyolo
  3707.         dave nn2z@nn2z
  3708.         # mail to local eyolo users
  3709.         ey-gang n6gf%n6gf@eyolo n6spe%n6spe@eyolo
  3710.  
  3711. In the above example, when specifying ey-gang as the recipient, BM will expand
  3712. the alias into the list of recipients from the alias file.
  3713.  
  3714. r s     An alias may not contain another alias from the same file.  However, an
  3715. alias may contain a recipient name that is an alias on the local host or a
  3716. remote host.  For example, if the host "eyolo" contains the following alias in
  3717. addition to the aliases above:
  3718.  
  3719.         # gang mail
  3720.         gang se-gang@sesac nc-gang@ncsac ey-gang@eyolo
  3721.  
  3722. then mail addressed to "gang" will be forwarded to the alias "se-gang" at the
  3723. host "sesac," to the alias "nc-gang" at the host "ncsac" and to the alias
  3724. "ey- sgang" on "eyolo" itself.  The mail forwarded to "ey-gang" will then be
  3725. forwarded again, as indicated by the example alias above for "ey-gang."
  3726.  
  3727.      The use of an ALIAS file is optional.  If you are just getting started
  3728. with TCP/IP, you might want to wait until you are more familiar with mail
  3729. addressing before you establish this file.  More information on mail
  3730. addressing is given in section 6.4.
  3731.  
  3732.      Your local TCP/IP user group may maintain an alias file, so you should
  3733. inquire as to its availability.
  3734.  
  3735. B.8.  The FTP and Mailbox Users File -- FTPUSERS
  3736.  
  3737.      Since MS-DOS was designed as a single-user operating system, it provides
  3738. no access control; all files can be read, written or deleted by the local
  3739. user.  It is usually undesirable to give such open access to a system to
  3740. remote network users.  The ftp server and the mailbox therefore provide their
  3741. own access control mechanisms.
  3742.  
  3743.      The file "FTPUSERS," created in the NOS directory, is used to control
  3744. remote ftp and mailbox access.  The default for ftp is NO file read/write
  3745. access.  Thus, if the FTPUSERS file isn't created, the ftp server will be
  3746. unusable.   The default for the mailbox is to allow users to read and send
  3747. mail, but not to have any file read/write access or any access to the mailbox
  3748. telnet, AX25, or NET/ROM ports.  For both ftp and the mailbox, a remote user
  3749. must first "log in" to the system, giving a login name and password.  For ftp,
  3750. this login name and password must be listed in FTPUSERS for the user to gain
  3751. access to file transfer commands.  For the mailbox, the login name must be a
  3752. callsign and it and password must be listed in FTPUSERS and have the needed
  3753. permissions set for the user to transfer files or to use the radio ports.
  3754.  
  3755.      Each entry in FTPUSERS consists of a single line of the form
  3756.  
  3757.         <username> <password> <path> <permission>
  3758.  
  3759.  
  3760.  
  3761.  
  3762.  
  3763.  
  3764.  
  3765.  
  3766.  
  3767.                                     - 58 -
  3768.  
  3769.  
  3770. There must be exactly one space between each field.  Comment lines are begun
  3771. with "#" in column one.
  3772.  
  3773.      <username> is the user's assigned login name.
  3774.  
  3775.      <password> is the required password.  Note that this is transmitted in
  3776.      plain text; therefore it is not a good idea to give general write
  3777.      permission to the root directory.  A password of "*" (a single asterisk)
  3778.      means that any password is acceptable.
  3779.  
  3780.      <path> is the list of directories in which the remote user is permitted
  3781.      to have access to files.  The directory names in this list must be
  3782.      absolute, i.e., starting from the root directory (/).  Multiple
  3783.      directories are specified by separating them with a ";" character and no
  3784.      spaces around it.
  3785.  
  3786.      <permission> is a decimal number granting permission for read, write, and
  3787.      overwrite and delete operations for directories in <path> and their
  3788.      subdirectories.
  3789.  
  3790. The permission codes are:
  3791.  
  3792.          1  Read files in directories in <path>
  3793.          2  Create new files in directories in <path>
  3794.          4  Overwrite and delete existing files in directories in <path>
  3795.          8  AX.25 gateway operation allowed from the mailbox
  3796.         16  Telnet gateway operation allowed from the mailbox
  3797.         32  NET/ROM gateway operation allowed from the mailbox
  3798.  
  3799. A permission of 2 allows a user to write a new file if it does not overwrite
  3800. an existing file.  A permission of 4 allows a user to write a file even if it
  3801. overwrites an existing file, and to delete files.   These permissions are
  3802. additive.  For example, 3 (2 + 1) means that the user is given read and create
  3803. permission, but not overwrite/delete permission.  Similarly, 7 (4 + 2 + 1)
  3804. means that the user is given read, write, overwrite and delete privileges.
  3805. Also, 63 (32 + 16 + 8 + 4 + 2 + 1) provides all read, write, overwrite, and
  3806. delete permissions and gives access to all gateways.
  3807.  
  3808.      It is a standard convention to keep a repository of downloadable files in
  3809. the directory \public and to allow users to logon with the username
  3810. "anonymous" with no password to access these files.  In some areas, the public
  3811. access username is "guest."  Every system providing an FTP server is
  3812. encouraged to provide restricted access to "anonymous" and "guest" users.  The
  3813. appropriate FTPUSERS entries allowing the users "anonymous" and "guest" to
  3814. read and write files under /public and subdirectories, but not to overwrite or
  3815. delete any files are:
  3816.  
  3817.         anonymous * /public 3
  3818.         guest * /public 3
  3819.  
  3820.  
  3821.      You might want to give a friend access to both his or her own directory
  3822. as well as the public access directory and to have gateway access.  For
  3823. example:
  3824.  
  3825.  
  3826.  
  3827.  
  3828.  
  3829.  
  3830.  
  3831.  
  3832.  
  3833.                                     - 59 -
  3834.  
  3835.  
  3836.  
  3837.         n6spe test /users/n6spe;/public 31
  3838.  
  3839. This gives user "n6spe," with password "test," read, write, overwrite and
  3840. delete privileges for files under /users/n6spe and /public and their sub-
  3841. directories, as well as access to your AX.25 and telnet gateways (permission
  3842. 31 = 1 + 2 + 4 + 8 + 16).
  3843.  
  3844.      A login name of "univperm" has a special meaning in the user validation
  3845. mechanism.  If univperm is included as a valid login name in FTPUSERS, then
  3846. any unknown user (not otherwise listed in FTPUSERS) will be given the
  3847. permissions indicated by the univperm entry.  This is primarily useful for
  3848. giving limited permissions to new mailbox users.  For example:
  3849.  
  3850.         univperm * /public 27
  3851.  
  3852. This gives an unknown user read and write file access and allows operation on
  3853. the AX.25 and telnet gateways (permission 27 = 1 + 2 + 8 + 16).
  3854.  
  3855. B.9.  Finger Files
  3856.  
  3857. Finger files are information files stored in the \nos\finger directory.  It is
  3858. common practice to set up a file for each of the users on the host.  Thus, if
  3859. n6gf is a user, he should have an information file named "n6gf."  This file is
  3860. edited with a text editor and should include information about the user such
  3861. as his or her full name, address, and phone number.  Additionally, information
  3862. about the packet system, such as computer, TCP/IP software, TNC, radio, and
  3863. antenna could be included.  Using the finger command, as described in section
  3864. 10.2, the remote user can access the names of the finger files and then have
  3865. them displayed on his or her console.  Thus, you could have a separate
  3866. information file for your system and include general information about the
  3867. files available for downloading and your usual hours of operation.  There is
  3868. no specified format for these files.  They will be displayed on the remote
  3869. host just as they appear in the file.
  3870.  
  3871. B.10.  Mailbox Areas File
  3872.  
  3873. The AREAS file in \nos\spool specifies public message areas which can be
  3874. accessed from the "areas" command in the mailbox.  The area names start in the
  3875. first column.  A line having a space as the first character is taken to be a
  3876. descriptive comment.  The "areas" command in the mailbox, issued without an
  3877. argument, will display the entire AREAS file to the remote user.
  3878.  
  3879.      An example AREAS file:
  3880.  
  3881.  ________________________________________________________
  3882.                                                         |
  3883.              Eyolo Public Message Areas                 |
  3884.              ==========================                 |
  3885.                                                         |
  3886. nos       Discussion of the NOS software                |
  3887. tcpip     General discussion of tcp/ip                  |
  3888. packet    General discussion of packet radio            |
  3889.                                                         |
  3890.  
  3891.  
  3892.  
  3893.  
  3894.  
  3895.  
  3896.  
  3897.  
  3898.  
  3899.                                     - 60 -
  3900.  
  3901.  
  3902.  To enter an area, type "a" followed by the area name.  |
  3903.  For example:"a nos".  To then list the messages        |
  3904.  available to be read, type "l"                         |
  3905.  _______________________________________________________|
  3906.  
  3907.  
  3908. B.11.  Mailbox Help Files
  3909.  
  3910. To complete the implementation of the "help" command in the mailbox, a set of
  3911. help files must be created in the directory \nos\spool\help.  These files must
  3912. be named as follows:
  3913.  
  3914. area.hlp       finger.hlp     list.hlp       read.hlp       what.hlp
  3915. bye.hlp        help.hlp       musers.hlp     send.hlp       xpert.hlp
  3916. connect.hlp    info.hlp       nodes.hlp      telnet.hlp     zap.hlp
  3917. download.hlp   jheard.hlp     operator.hlp   upload.hlp
  3918. escape.hlp     kill.hlp       ports.hlp      verbose.hlp
  3919.  
  3920. Each file is an ASCII (plain text) file, providing help information for the
  3921. command indicated by the file name.  For example, the file "finger.hlp"
  3922. provides information about the "finger" command.  A set of help files is
  3923. available and may have been included in the NOS distribution you received, or
  3924. may be available in the public directories on a local host.  If not, you can
  3925. create these files in a text editor, using the command information provided in
  3926. this guide.  Even if you have acquired a set of help files, you will need to
  3927. edit the "info.hlp" file, as this file provides information about your packet
  3928. station.
  3929.  
  3930.  
  3931.  
  3932.  
  3933.  
  3934.  
  3935.  
  3936.  
  3937.  
  3938.  
  3939.  
  3940.  
  3941.  
  3942.  
  3943.  
  3944.  
  3945.  
  3946.  
  3947.  
  3948.  
  3949.  
  3950.  
  3951.  
  3952.  
  3953.  
  3954.  
  3955.  
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.  
  3965.                                     - 61 -
  3966.  
  3967.  
  3968.                      Appendix C.  IP Address Coordinators
  3969.  
  3970. Listed below are the coordinators for IP address assignments, as of January
  3971. 15, 1992.  This list is updated several times a year and is generally
  3972. available on AX.25 PBBS systems.
  3973.  
  3974. 44.002    Bob Meyer             K6RTV      Calif: Sacramento
  3975. 44.004    Douglas Thom          N6OYU      Calif: Silicon Valley - San Francisco
  3976. 44.006    Don Jacob             WB5EKU     Calif: Santa Barbara/Ventura
  3977. 44.008    Brian Kantor          WB6CYT     Calif: San Diego
  3978. 44.010    Terry Neal            AA6TN      Calif: Orange County
  3979. 44.012    Steven King           KD7RO      Eastern Washington,Idaho
  3980. 44.014    John Shalamskas       KJ9U       Hawaii & Pacific Islands
  3981. 44.016    Jeff Angus            WA6FWI     Calif: Los Angeles - S F Valley
  3982. 44.017    Dana Myers            KK6JQ      Calif: Antelope Valley/Kern County
  3983. 44.018    Geoffrey Joy          KE6QH      Calif: San Bernardino & Riverside
  3984. 44.020    Fred Schneider        K0YUM      Colorado: Northeast
  3985. 44.022    John Stannard         KL7JL      Alaska
  3986. 44.024    Dennis Goodwin        KB7DZ      Washington state: Western (Puget Sound)
  3987. 44.026    Ron Henderson         WA7TAS     Oregon
  3988. 44.028    Don Adkins            KD5QN      Texas: Dallas
  3989. 44.030    J Gary Bender         WS5N       New Mexico
  3990. 44.032    Bdale Garbee          N3EUA      Colorado: Southeast
  3991. 44.034    Jeff Pierce           WD4NMQ     Tennesee
  3992. 44.036    Doug Drye             KD4NC      Georgia
  3993. 44.038    Mike Abbott           N4QXV      South Carolina
  3994. 44.040    Jeff Jacobsen         WA7MBL     Utah
  3995. 44.042    Phil Akers            WA4DDE     Mississippi
  3996. 44.044    Ed Thorne             WB1FEM     Massachusetts: western
  3997. 44.046    William Simmons       WB0ROT     Missouri
  3998. 44.048    Jacques Kubley        KA9FJS     Indiana
  3999. 44.050    Ron Breitwisch        KC0OX      Iowa
  4000. 44.052    Gary Grebus           K8LT       New Hampshire
  4001. 44.054    Ralph Stetson         KD1R       Vermont
  4002. 44.056    Don Hughes            KA1MF      Eastern Mass
  4003. 44.058    Rich Clemens          KB8AOB     West Virginia
  4004. 44.060    Howard Leadmon        WB3FFV     Maryland
  4005. 44.062    Jim Dearras           WA4ONG     Virginia (not DC)
  4006. 44.064    Dave Trulli           NN2Z       New Jersey: northern
  4007. 44.065    Bob Applegate         WA2ZZX     New Jersey: southern
  4008. 44.066    John DeGood           NU3E       Delaware
  4009. 44.068    Bob Foxworth          K2EUH      New York: Long Island
  4010. 44.069    Paul Gerwitz          WA2WPI     New York: upstate
  4011. 44.070    Gary Sanders          N8EMR      Ohio
  4012. 44.072    Ken Stritzel          WA9AEK     Chicago - North Ill.
  4013. 44.074    James Curran          KA4OJN     North Carolina (east)
  4014. 44.075    Charles Layno         WB4WOR     North Carolina (west)
  4015. 44.076    Kurt Freiberger       WB5BBW     Texas: south
  4016. 44.077    Rod Huckabay          KA5EJX     Texas: west
  4017. 44.078    Joe Buswell           K5JB       Oklahoma
  4018. 44.080    John Gayman           WA3WBU     Pennsylvania: eastern
  4019. 44.082    Steven Elwood         N7GXP      Montana
  4020. 44.084    Bob Ludtke            K9MWM      Colorado: Western
  4021. 44.086    Reid Fletcher         WB7CJO     Wyoming
  4022.  
  4023.  
  4024.  
  4025.  
  4026.  
  4027.  
  4028.  
  4029.  
  4030.  
  4031.                                     - 62 -
  4032.  
  4033.  
  4034. 44.088    Jon Bloom             KE3Z       Connecticut
  4035. 44.090    Mike Nickolaus        NF0N       Nebraska
  4036. 44.092    Pat Davis             KD9UU      Wisconsin, upper peninsula Michigan
  4037. 44.094    Gary Sharp            WD0HEB     Minnesota
  4038. 44.096    Don Bennett           K4NGC      District of Columbia
  4039. 44.098    Garry Paxinos         (waiting)  Florida
  4040. 44.100    Ken Adkisson          WB4FAY     Alabama
  4041. 44.102    Jeff King             WB8WKA     Michigan (lower peninsula)
  4042. 44.104    Charles Greene        W1CG       Rhode Island
  4043. 44.106    Tyler Barnett         N4TY       Kentucky
  4044. 44.108    James Dugal           N5KNX      Louisiana
  4045. 44.110    Richard Duncan        WD5B       Arkansas
  4046. 44.112    Bob Hoffman           N3CVL      Pennsylvania: western
  4047. 44.114    Steven Elwood         N7GXP      N&S Dakota
  4048. 44.116    Tom Kloos             WS7S       Oregon: NW&Portland,Vancouver WA
  4049. 44.118    Jon Andrews           WA2YVL     Maine
  4050. 44.120    unassigned
  4051. 44.122    Dale Puckett          K0HYD      Kansas
  4052. 44.124    David Dodell          WB7TPY     Arizona
  4053. 44.125    Earl Petersen         KF7TI      Southern Nevada
  4054. 44.126    Karl Wagner           KP4QG      Puerto Rico
  4055. #
  4056. # 44.128 is reserved for testing.  Do not use for operational networks.
  4057. # You may safely assume that any packets with 44.128 addresses are bogons
  4058. # unless you are using them for some sort of testing
  4059. #
  4060. 44.128    TEST
  4061. #
  4062. # International subnet coordinators by country
  4063. #
  4064. 44.129    Japan                 JG1SLY     Tak Kushida, JH3XCU Joly Kanbayashi
  4065. 44.130    Germany               DL4TA      Ralf D Kloth
  4066. 44.131    United Kingdom       G6PWY       Chris Baron
  4067. 44.132    Indonesia            YB1BG       Robby Soebiakto
  4068. 44.133    Spain                 EA4DQX     Jose Antonio Garcia.  Madrid. (EA4DQX @ EA4DQX)
  4069. 44.134    Italy                 I2K
  4070. FX
  4071. 44.135    Canada                VE3GYQ     David Toth
  4072. 44.136    Australia            VK2ZXQ      John Tanner
  4073. 44.137    Holland               PA0GRI     Gerard Van Der Grinten
  4074. 44.138    Israel                4X6OJ      Ofer Lapid
  4075. 44.139    Finland               OH1MQK     Matti Aarnio
  4076. 44.140    Sweden                SM0RGV     Anders Klemets
  4077. 44.141    Norway                LA4JL      Per Eotang
  4078. 44.142    Switzerland          HB9CAT      Marco Zollinger
  4079. 44.143    Austria               OE1KDA     Krzysztof Dabrowski
  4080. 44.144    Belgium               ON7LE
  4081. 44.145    Denmark               OZ1EUI
  4082. 44.146    Phillipines          DU1UJ       Eddie Manolo
  4083. 44.147    New Zealand
  4084. 44.148    Ecuador               HC5K       Ted
  4085. 44.149    Hong Kong            VS6EL
  4086. 44.150    Yugoslavia           YU3FK       Iztok Saje
  4087. 44.151    France                FC1BQP     Pierre-Francois Monet
  4088. 44.152    Venezuela            OA4KO/YV5   Luis Suarez
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098.                                     - 63 -
  4099.  
  4100.  
  4101. 44.153    Argentina            LU7ABF      Pedro Converso
  4102. 44.154    Greece                SV1IW      Manos
  4103. 44.155    Ireland               EI9GL      Paul Healy
  4104. 44.156    Hungary               HA5DI      Markus Bela
  4105. 44.157    Chile                 CE6EZB     Raul Burgos
  4106. 44.158    Portugal             CT1DIA      Artur Gomes
  4107. 44.159    Thailand             HS1JC       Kunchit Charmaraman
  4108. 44.160    South Africa         ZS6BHD      John
  4109. 44.161    Luxembourg           LX1YZ       Erny Tontlinger
  4110. 44.162    Cyprus                5B4TX      C. Costis
  4111. 44.163    Central America      TI3DJT      Chuck Hast
  4112. 44.164    Surinam               PZ2AC      Otto Morroy
  4113. 44.165    Poland                SP5WCA     Andrzej K. Brandt
  4114. 44.166    Korea                 HL9TG      Gary ?
  4115. 44.167    India                 VU2LBW     Lakshman ("Lucky") Bijanki
  4116.  
  4117. 44.193    Outer Space-AMSAT    W3IWI       Tom Clark
  4118.  
  4119.  
  4120.  
  4121.  
  4122.  
  4123.  
  4124.  
  4125.  
  4126.  
  4127.  
  4128.  
  4129.  
  4130.  
  4131.  
  4132.  
  4133.  
  4134.  
  4135.  
  4136.  
  4137.  
  4138.  
  4139.  
  4140.  
  4141.  
  4142.  
  4143.  
  4144.  
  4145.  
  4146.  
  4147.  
  4148.  
  4149.  
  4150.  
  4151.  
  4152.  
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.  
  4163.  
  4164.                                     - 64 -
  4165.  
  4166.  
  4167.                     Appendix D.  NOS Command Descriptions
  4168.  
  4169. Given below are all of the commands listed by the "help" command in NOS, with
  4170. concise descriptions of these commands.  If the command is described in more
  4171. detail in this guide, the section(s) in which it is referenced is given in
  4172. parentheses.  An asterisk (*) after the section reference indicates that not
  4173. all of the subcommands have been described in this guide.
  4174.  
  4175. !          Escape to DOS (4.5)
  4176.  
  4177. abort      Abort an ftp get, put, or dir operation in progress. (7.3)
  4178.  
  4179. arp        Address Resolution Protocol.  Connects IP addresses with callsigns.
  4180.  
  4181. asystat    Display statistics on attached asynchronous communications
  4182.            interfaces.
  4183.  
  4184. attach     Configure and attach a hardware interface. (B.4.5)*
  4185.  
  4186. attended   Display or set the "host attended" flag. (5.11, B.4.22)
  4187.  
  4188. ax25       AX.25 (normal packet) services. (10.1, B.4.3, B.4.16-B.4.21)*
  4189.  
  4190. bbs        Enter the local mailbox or BBS (8.2)
  4191.  
  4192. cd         Change directory. (4.4.5)
  4193.  
  4194. close      Close a session. (5.5, 9.3)
  4195.  
  4196. comm       Send a text string via an interface (A)
  4197.  
  4198. connect    AX.25 connect request. (9.1)
  4199.  
  4200. delete     Delete a file. (4.4.8)
  4201.  
  4202. detach     Detach a previously attached interface from the system.
  4203.  
  4204. dialer     Set up an autodialer session for an interface
  4205.  
  4206. domain     Control and show the working of the name to IP address mapping
  4207.            software.
  4208.  
  4209. dump       Shows memory contents in hex and ascii.
  4210.  
  4211. dir        List contents of a directory. (4.4.6)
  4212.  
  4213. disconnect Close a session (alias for close). (5.5, 9.3)
  4214.  
  4215. echo       Controls telnet keyboard echo.
  4216.  
  4217. eol        Controls telnet end of line behavior.
  4218.  
  4219. escape     Displays or sets the command-mode escape character in hex.
  4220.  
  4221.  
  4222.  
  4223.  
  4224.  
  4225.  
  4226.  
  4227.  
  4228.  
  4229.  
  4230.                                     - 65 -
  4231.  
  4232.  
  4233. exit       Exit NOS and return to DOS. (4.6)
  4234.  
  4235. finger     Finger information files on remote host. (10.2, B.9)
  4236.  
  4237. fkey       Displays or sets values for the programmable keys on the PC
  4238.            keyboard.
  4239.  
  4240. ftp        File Transfer Protocol. (4.2, 7.1)
  4241.  
  4242. ftype      Displays or sets the default file type (ascii or binary) for ftp.
  4243.  
  4244. help       List NOS commands. (4.4.1)
  4245.  
  4246. hop        Commands to test the connectivity of the network.
  4247.  
  4248. hostname   Display or set hostname. (B.4.2)
  4249.  
  4250. icmp       Display or set the flag controlling the ICMP echo reply packets
  4251.  
  4252. ifconfig   Display a list of interfaces, with a short status for each.
  4253.  
  4254. info       Display information about the version of NOS currently running.
  4255.  
  4256. ip         Internet Protocol. (B.4.4, B.4.8)*
  4257.  
  4258. isat       Display or set the AT flag. (10.3, B.4.6)
  4259.  
  4260. kick       Force an immediate retransmission on a session.
  4261.  
  4262. log        Controls logging of server sessions. (B.4.26)
  4263.  
  4264. mail       Starts a shell escape to the BM mail program. (6.1)
  4265.  
  4266. mbox       Configure and display status of mailbox or BBS. (8.1, 10.6, B.4.24,
  4267.            B.4.25)*
  4268.  
  4269. memory     Display and control memory allocation.
  4270.  
  4271. mkdir      Create a sub-directory in the current working directory (4.4.9)
  4272.  
  4273. mode       Controls transmission mode on AX.25 interfaces.
  4274.  
  4275. more       Display file(s) a screen at a time. (4.4.2)
  4276.  
  4277. motd       Displays or sets the "message of the day."  (5.1.2, B.4.23)
  4278.  
  4279. multitask  Displays or sets the multitask flag (4.5, 6.1, B.4.7)
  4280.  
  4281. netrom     Controls NET/ROM services.
  4282.  
  4283. nntp       Controls the network news transfer protocol.
  4284.  
  4285. nrstat     Displays NET/ROM statistics.
  4286.  
  4287.  
  4288.  
  4289.  
  4290.  
  4291.  
  4292.  
  4293.  
  4294.  
  4295.  
  4296.                                     - 66 -
  4297.  
  4298.  
  4299. param      Invokes a device-specific control routine. (B.4.9)*
  4300.  
  4301. ping       Query a remote host. (10.3)
  4302.  
  4303. pop        Controls the post-office protocol for mail delivery.
  4304.  
  4305. popmail    Controls the delivery of pop mail.  (B.4.28-B.4.30)*
  4306.  
  4307. ppp        Controls the point-to-point protocol for serial interfaces.
  4308.  
  4309. ps         Display all current processes in the system.
  4310.  
  4311. pwd        Display name of current directory. (4.4.4)
  4312.  
  4313. rarp       Controls the reverse address resolution protocol.
  4314.  
  4315. remote     Send control commands to a remote host (B.4.28)*
  4316.  
  4317. rename     Rename a file. (4.4.7)
  4318.  
  4319. record     Record telnet or AX.25 session to a disk file. (5.4.1, 9.2.1)
  4320.  
  4321. reset      Reset a session.
  4322.  
  4323. rip        Controls the RIP service, which manages an IP routing table.
  4324.  
  4325. rlogin     Initiates a remote login session.
  4326.  
  4327. rmdir      Remove a directory.  (4.4.10)
  4328.  
  4329. route      Controls the routing table. (11., B.4.10)*
  4330.  
  4331. rspf       Controls the radio shortest path first protocol.
  4332.  
  4333. session    Controls sessions selection. (4.3, 5.3, 8.4)
  4334.  
  4335. sccstat    Display statistics on the SCC driver.
  4336.  
  4337. shell      Escape to DOS.  Alias for ! (4.5)
  4338.  
  4339. smtp       Simple Mail Transport Protocol. (6.5, B.4.11, B.4.12)*
  4340.  
  4341. socket     Displays information on active sockets.
  4342.  
  4343. source     Reads subsequent commands from a specified file.
  4344.  
  4345. start      Start a server. (B.4.15)*
  4346.  
  4347. stop       Stop a server.
  4348.  
  4349. status     Display NOS status information. (10.5)
  4350.  
  4351. tail       Display the contents of the last 18 lines of a file.  (4.4.3)
  4352.  
  4353.  
  4354.  
  4355.  
  4356.  
  4357.  
  4358.  
  4359.  
  4360.  
  4361.  
  4362.                                     - 67 -
  4363.  
  4364.  
  4365. tcp        Transport Control Protocol. (11.1, B.4.13, B.4.14)
  4366.  
  4367. telnet     Telnet protocol. (8.2)
  4368.  
  4369. test       Start an internal test for an overflow problem.
  4370.  
  4371. trace      Monitor packet traffic. (10.4)
  4372.  
  4373. ttylink    Initiate a keyboard-to-keyboard chat session.  (5.2)
  4374.  
  4375. third-partyRestricts third-party traffic.
  4376.  
  4377. tip        Creates a session that communicates in "dumb-terminal" mode.
  4378.  
  4379. udp        User datagram protocol.
  4380.  
  4381. upload     Upload ASCII file to telnet or AX.25 session. (5.4.2, 9.2.2)
  4382.  
  4383. watch      Displays current software stopwatch values.
  4384.  
  4385. watchdog   Enable or disables the watchdog timer.
  4386.  
  4387. ?          List NOS commands. Alias for help. (4.4.1)
  4388.  
  4389.  
  4390.  
  4391.  
  4392.  
  4393.  
  4394.  
  4395.  
  4396.  
  4397.  
  4398.  
  4399.  
  4400.  
  4401.  
  4402.  
  4403.  
  4404.  
  4405.  
  4406.  
  4407.  
  4408.  
  4409.  
  4410.  
  4411.  
  4412.  
  4413.  
  4414.  
  4415.  
  4416.  
  4417.  
  4418.  
  4419.  
  4420.  
  4421.  
  4422.  
  4423.  
  4424.  
  4425.  
  4426.  
  4427.  
  4428.  
  4429.  
  4430.  
  4431.  
  4432.  
  4433.  
  4434.  
  4435.  
  4436.  
  4437.  
  4438.  
  4439.  
  4440.  
  4441.  
  4442.  
  4443.               Beginner's Guide to TCP/IP on the Amateur Packet
  4444.                 Radio Network Using the KA9Q Internet Software
  4445.  
  4446.                                  Version 2.0
  4447.                                 April 8, 1992
  4448.  
  4449.                                  Documenting
  4450.                         KA9Q NOS 911229 (PA0GRI v2.0h)
  4451.                                    BM 3.3.2
  4452.  
  4453.  
  4454.  
  4455.  
  4456.  
  4457.  
  4458.  
  4459.  
  4460.  
  4461.  
  4462.                                       by
  4463.  
  4464.                               Gary E. Ford, N6GF
  4465.  
  4466.  
  4467.  
  4468.  
  4469.  
  4470.  
  4471.  
  4472.                        Copyright 1992 by Gary E. Ford.
  4473.  
  4474.                    This Document may be reproduced in whole
  4475.                   or in part for any non-commercial purpose,
  4476.                   as long as credit is given to the author.
  4477.  
  4478.  
  4479.  
  4480.  
  4481.  
  4482.  
  4483.  
  4484.  
  4485.  
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.  
  4493.  
  4494.  
  4495.  
  4496.  
  4497.                  Beginner's Guide to TCP/IP on the Amateur Packet
  4498.                    Radio Network Using the KA9Q Internet Software
  4499.  
  4500.                                       Contents
  4501.  
  4502.                                                                         Page
  4503.         1.  Introduction.................................................. 1
  4504.             1.1 Objectives of This Guide.................................. 3
  4505.             1.2 Acknowledgements.......................................... 3
  4506.  
  4507.         2.  Necessary Resources........................................... 4
  4508.             2.1 Computer.................................................. 4
  4509.             2.2 TNC....................................................... 5
  4510.             2.3 Radio..................................................... 5
  4511.             2.4 IP Address................................................ 5
  4512.             2.5 KA9Q NOS Software......................................... 5
  4513.  
  4514.         3.  Definitions, Conventions, and Notation........................ 6
  4515.             3.1 NOS Commands.............................................. 6
  4516.             3.2 NOS Command Arguments..................................... 7
  4517.             3.3 Notation.................................................. 8
  4518.  
  4519.         4.  NOS........................................................... 9
  4520.             4.1 Executing NOS............................................. 9
  4521.             4.2 Command and Converse Modes................................ 9
  4522.             4.3 Managing Multiple Sessions................................10
  4523.             4.4 Utility Commands..........................................11
  4524.             4.5 Executing DOS Commands....................................12
  4525.             4.6 Exiting NOS...............................................13
  4526.  
  4527.         5.  Keyboard Chat.................................................13
  4528.             5.1 Chat Session Messages.....................................13
  4529.             5.2 Initiating a Chat Session.................................14
  4530.             5.3 Accepting a Chat Session..................................14
  4531.             5.4 File Upload and Download..................................14
  4532.             5.5 Closing a Chat Session....................................15
  4533.  
  4534.         6.  Mail..........................................................15
  4535.             6.1 Executing BM..............................................16
  4536.             6.2 BM Main Menu Commands.....................................16
  4537.             6.3 Text Input Commands.......................................19
  4538.             6.4 Mail Addresses............................................20
  4539.             6.5 SMTP......................................................21
  4540.             6.6 POP.......................................................22
  4541.  
  4542.         7.  File Transfer.................................................22
  4543.             7.1 Ftp Command...............................................22
  4544.             7.2 Ftp Converse Mode Commands................................23
  4545.                 7.3 Aborting a File Transfer..............................26
  4546.             7.4 Ftp Example...............................................26
  4547.  
  4548.         8.  Mailbox or BBS................................................27
  4549.             8.1 Mailbox Messages..........................................28
  4550.             8.2 Initiating a Mailbox Session..............................28
  4551.  
  4552.  
  4553.  
  4554.  
  4555.  
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561.  
  4562.  
  4563.             8.3 Mailbox Commands..........................................29
  4564.  
  4565.         9.  AX.25 Services................................................33
  4566.             9.1 Initiating an AX.25 Connection............................33
  4567.             9.2 File Upload and Download..................................34
  4568.             9.3 Terminating an AX.25 Connection...........................34
  4569.  
  4570.         10.  Network Information and NOS Status...........................35
  4571.             10.1 ax25 heard...............................................35
  4572.             10.2 finger...................................................35
  4573.             10.3 ping.....................................................36
  4574.             10.4 trace....................................................37
  4575.             10.5 status...................................................38
  4576.             10.6 mbox status..............................................39
  4577.  
  4578.         11. Advanced Topics...............................................39
  4579.             11.1 TCP......................................................39
  4580.  
  4581.         Appendix A.  TNC KISS Mode........................................42
  4582.  
  4583.         Appendix B.  Installation of NOS and BM...........................43
  4584.             B.1 Installation Overview.....................................43
  4585.             B.2 File Structure............................................44
  4586.             B.3 DOS Environment -- AUTOEXEC.BAT...........................44
  4587.             B.4 NOS Configuration File -- AUTOEXEC.NOS....................45
  4588.             B.5 The Host Table -- DOMAIN.TXT..............................54
  4589.             B.6 Mail Configuration File -- BM.RC..........................55
  4590.             B.7 The Alias File -- ALIAS...................................56
  4591.             B.8 The FTP and Mailbox Users File -- FTPUSERS................57
  4592.             B.9 Finger Files..............................................59
  4593.             B.10 Mailbox Area File -- AREAS...............................59
  4594.             B.11 Mailbox Help Files.......................................60
  4595.  
  4596.         Appendix C.  IP Address Coordinators..............................61
  4597.  
  4598.         Appendix D.  NOS Command Descriptions.............................64
  4599.  
  4600.  
  4601.  
  4602.  
  4603.  
  4604.  
  4605.